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 app services?
What is the difference between localization and globalization?
How to rename a table using sql queries?
What is server redirect?
I have created a configuration setting in my web.config and have kept it at the root level. How do I prevent it from being overridden by another web.config that appears lower in the hierarchy?
Explain the difference between asp & asp.net.
How do I debug an asp.net application that was not written with visual studio.net and that does not use code-behind?
Explain the difference between asp.net mvc and asp.net webforms
What is form method?
What is dynamic web page with example?
How does u get record no from 5 to 15 from a dataset of 100 records?
Explain about asp.net 2.0 themes?
If you want to bind the columns manually within the asp:datagrid tags what kind of tags you have to add.
What is the difference between custom web user control and a custom web server control?
What are the difference between overriding and overloading?