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 / rahul

Even i tried with that even it's saying the same error.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Cookies Less Session?

702


Explain what are webservices?

639


What is inheritance and an how it be used, example with an example?

664


What do you mean by authentication?

619


How do you declare static variable?

650






Why do we use web config?

603


What is asp.net and its advantages?

619


Explain the procedure to handle the process request using mhpm events fired? : asp.net mvc

634


Is it possible to change the index of primary key on table?

492


Explain about consistent programming model in the .NET framework?

683


Explain the use of fragment caching.

752


What are client activated objects?

655


Which control has default post back is enabled(true)?

693


What is & in a url?

625


How is session id generated?

551