看板 C_Sharp 關於我們 聯絡資訊
請問在webform中 dropdownlist.items.remove(i);為何無法執行? 要用dropdownlist.items.removeAT(i)才可以.. -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.124.76.99
Laluth:i 是數字 i不是dropdownlist的item 這樣懂嗎? 12/08 17:17
scome30601:我知道i是數字...我是有用迴圈讓他去刪除..但不知道為 12/08 18:31
scome30601:什麼第一個不行 12/08 18:31
mathlinka:dropdownlist.items.remove(dropdownlist.items(i)); 12/08 20:53
blestadsl:不能用foreach... 12/08 21:54