2006-11-10

 

Asp.Net2.0 Dropdownlist 加入item

Protected Sub DropDownList1_DataBound(ByVal sender As Object, ByVal e As System.EventArgs)
DropDownList1.Items.Insert(0, New ListItem("請選擇", "0"))
End Sub

Comments: 張貼留言



<< Home

This page is powered by Blogger. Isn't yours?