Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 / sujit biswas

if (!IsPostBack)
{
ArrayList books=new ArrayList();
books.Add("gone with the wind");
books.Add("rahulsriramprakash");
books.Add("vishal");
dropdowndisplay.DataSource = books;
dropdowndisplay.DataBind();
}

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain Apache web servers ? How can you get ASP.NET running in Apache web servers - why should you do this?

987


How ViewstateMac works?

2831


What is a global postback url?

947


Define data caching?

921


If you want to bind the columns manually within the asp:datagrid tags what kind of tags you have to add.

1053


What is a web based system?

974


Which dll handles the request of .aspx page?

962


Explain the different types of assemblies?

953


How you can access the values from the Repeater control in ASP.NET?

1067


Which validator control you use if you need to make sure the values in two different controls matched?

1073


Is it possible to apply themes to an asp.net application? If yes, then how?

1013


Explain the difference between response.redirect vs server.transfer

1135


How do you handle server controls?

1139


Explain form level validation and field level validation?

1012


What does uri mean?

923