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
Why do we need a web application session?
Why do we need Sessions?
What are the various types of cookies in asp.net?
What are validator? Name the validation controls in asp.net? How do you disable them? Will the asp.net validators run in server side or client side? How do you do client-side validation in .net? How to disable validator control by client side javascript?
Explain model, view and controller represent in an mvc application? : asp.net mvc
What are sql joins?
If you are using components in your application, how can you handle exceptions raised in a component?
What do you mean by marshalbyref?
What is the difference between pathparam and queryparam?
What is work flow gen? how can it will work with .Net?
What are the versions of garbage collection?
Can I combine classic asp and asp.net pages?
Name the two properties are on every validation control?
How can we add an event handler for a ASP.NET function executed on MouseOver for a certain button.
Do I need to have the latest version of windows media player installed?