When a dropdownlist has been added by some records and it
has been binded why it is not executing i'm facing this
error pls help me ?
if (is!pageposback)
{
arraylist books = new arraylist;
books.add ("gone with the wind");
books.add ("rahulsriramprakash");
books.add ("vishal");
dropdowndisplay.datasource=books;
dropdowndisplay.databind();
}
The error is :
1) The dropdowndisplay does not exist.
Answer Posted / rajesh
make sure that dropdownlist is there in the webform
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are the best practices to follow to secure connection strings in an ASP.NET web application?
What is the significance of finalize method in .net?
What are httphandlers and httpmodules and difference between them?
What is the main differences between asp and asp.net?
List the types of authentication supported by asp.net?
If you have an application with multiple security levels though secure login and my ASP.NET web appplication is spanned across three web-servers by using round-robbin load balancing. Explain which is the best approach to maintain login-in state for the users?
How to comment out asp.net tags?
What is Pre-Render event in ASP.NET?
Define transparent caching with aop?
How to implement globalization and localization in the use interface in .net.
Define reflection in .net?
What are the parts of an http response?
How can we pass info between 2 asp.net pages?
What is autopostback in asp net?
What is session start?