Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding "Select" Text to DropDownList After Dynamically Filled From DB 1

Status
Not open for further replies.

ietprofessional

Programmer
Apr 1, 2004
267
US
Hi Everyone,

I've filled a dropdownlist with some values from a db. How do I add a "Select Item" item to the dropdown after filling it from a DB?

Thanks!
 
can i have a look at your code???

Known is handfull, Unknown is worldfull
 
ddl.Items.Insert(0, new ListItem("SELECT ONE", "-1"));

-p

penny.gif
penny.gif

The answer to getting answered -- faq855-2992
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top