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!

Make first item as blank in dropdown list

Status
Not open for further replies.

adonet

MIS
May 4, 2004
312
US
How to Make first item as blank in dropdown list if bind table no blank row?
 
Hello,
I know one way to do that. I would do a loop to add data into the listbox. The first item will be empty string.

Hope this help.
 
Thank you.
I got it finally:

Me.ddlOrder.Items.Insert(0, New ListItem("", "value"))
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top