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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Add text to dropdown after connecting to the database

Status
Not open for further replies.

prasadalone

Programmer
Aug 15, 2002
87
hi have created dropdrown box in asp.net page values are set by bounding database to the dropdown box now i want to add "<select>" as text item and "" as value can it be possible help required
 
Code:
DropDownList1.Items.Insert(0, New ListItem("<select>", ""))


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top