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


Please Help Members By Posting Answers For Below Questions

What is http post action?

551


What is web api and why to use it?

563


Which method do you use to enforce garbage collection in .net?

522


Tell me the code snippet to show how we can return 404 errors from HttpError?

793


In Data grid the question is below quantity price total these are 3 fields available in data grid if you enter quantity the total has to update automatically.Price field is already filled completely

1551






Who is using asp.net?

509


Why is the standalone environment only useful during the development process?

1343


What is the difference between adding reference in solution explorer and adding references by using ?

580


is there any third party tools are using in .net technologies? what are there ? give me the brief introduction?

1956


How Session outproc in Sqlserver stored?

2308


What is AutoPostback?

605


What is global.asax file used for?

563


What is the size of Get method and how much data it can store?

577


What is manifest in .net framework?

547


How can you apply a theme to your asp.net application?

539