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 / vyas pyk

though u have the control in the web form some times is
shows like that onle,
the solutions is u better delete the control and add it
again u will get it

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is a dll file an executable?

551


Can viewstate be accessed in another page?

507


What is manifest in .net framework?

537


How many web config files can be created for an application?

448


What is query string?

564






What is slidemaster?

464


How do you sign out from forms authentication?

552


What does it mean your session has timed out?

523


How does asp.net work?

547


What is different authentication mechanisms used in ASP.NET?

584


What are the new web part controls in asp.net 2.0 ?

524


Where is the session stored?

631


while developing webservices if i want some users to use my webservice only how can i give security to my webservice?

1405


Differentiate globalization and localization.

585


What is dynamic web page with example?

519