Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 DropDwonList

Author  Topic 

messi
Starting Member

47 Posts

Posted - 2008-10-13 : 12:58:15
Any one know how i can clear the
drop down list in Asp

Using C# Code



afrika
Master Smack Fu Yak Hacker

2706 Posts

Posted - 2008-10-13 : 13:52:00
What do you mean clear ?
Go to Top of Page

messi
Starting Member

47 Posts

Posted - 2008-10-13 : 14:23:15
it appear like this



i want to clear the list
Go to Top of Page

afrika
Master Smack Fu Yak Hacker

2706 Posts

Posted - 2008-10-13 : 14:42:19
where are u getting the values from ?

And how do you want to clear this list ? In design time or runtime ? Also are you using vstudio ?
Go to Top of Page

messi
Starting Member

47 Posts

Posted - 2008-10-13 : 15:56:18
DropListloc.DataSource = ds.Tables["Exam"];
DropListloc.DataTextField = "Exam_Location";

i want to clear the list in runtime using c#
Go to Top of Page
   

- Advertisement -