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
Which is an advantage of application service providers?
Explain the difference between dataset and datareader.
What is the difference between the get method () and post method ()?
What is server infrastructure?
how to include timer or counting time to display next page in asp.net
What is web api vs wcf?
What is difference between singleton and single call?
Which method do you use to enforce garbage collection in .net?
Do gac'ed assemblies have fulltrust?
What is s2s tracking?
Suppose you want an asp.net function (client side) executed on the mouseover event of a button. Where do you add an event handler?
What websites use asp.net?
Name some asp objects?
What is difference between cookies and cache?
What is css in asp.net?