list去重保持原順序 dropdownlist的使用方法?
dropdownlist的使用方法?//如何使用//inAsp.net//dropdownlist1中最常用的屬性。項(xiàng)目負(fù)責(zé)容器下拉列表1。包含所有選項(xiàng)的項(xiàng)項(xiàng)目。添加(“displayed value
dropdownlist的使用方法?
//如何使用//inAsp.net//dropdownlist1中最常用的屬性。項(xiàng)目負(fù)責(zé)容器下拉列表1。包含所有選項(xiàng)的項(xiàng)項(xiàng)目。添加(“displayed value”)//dropdownlist1.selecteditem選擇項(xiàng)目時(shí),string itemtext=dropdownlist1選擇editem.Text//注意dropdownlist1物品。價(jià)值只有在你有設(shè)置的情況下。設(shè)置dropdownlist1如下項(xiàng)目。添加(New listitem(“display value”,“1”)string itemvalue=dropdownlist1選擇項(xiàng)目值希望你學(xué)習(xí)愉快