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
How do I use response redirect?
What is class and object in asp.net?
What is ViewState? What does the "EnableViewState" property do? Why would I want it on or off?
How can we inherit a static member?
Can you dynamically assign a Master Page?
How to disable cut, copy and paste in TextBox using jQuery in asp.net?
How can i explain my project during interview?many time i expalain my project but they did't accept? please explain me.
Explain diff. Betn dataset and recordset?
How do you hide the columns?
What is difference between Fragment Caching and Page Caching in ASP.NET?
What is the compiled object?
How can we create Tree control in asp.net?
Mention few asp.net validators.
Can a .net web application consume java web service?
What is the parent class of all the web server control?