作者scome30601 (GGyy)
看板C_Sharp
标题[问题] dropdownkist.items.remove(i)
时间Wed Dec 8 15:48:51 2010
请问在webform中
dropdownlist.items.remove(i);为何无法执行?
要用dropdownlist.items.removeAT(i)才可以..
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.124.76.99
1F:推 Laluth:i 是数字 i不是dropdownlist的item 这样懂吗? 12/08 17:17
2F:→ scome30601:我知道i是数字...我是有用回圈让他去删除..但不知道为 12/08 18:31
3F:→ scome30601:什麽第一个不行 12/08 18:31
4F:推 mathlinka:dropdownlist.items.remove(dropdownlist.items(i)); 12/08 20:53
5F:→ blestadsl:不能用foreach... 12/08 21:54