How to Add ---Select--- in your Dropdown at run time when ur Dropdown bind with datasource.
a very simple step u can do it
Just write like this
Dropdown1.datasource=datatable;
Dropdown1.dataBind();
Dropdown1.Items.Insert(0,new ListItem("--Select--","-1"));
No comments:
Post a Comment