GridView中DropDownList联动
摘要:
GridView中DropDownList联动2010-07-30 00:26 by Jun2009, 228 阅读, 0 评论, 收藏, 编辑1.在GridView模板列中添加DropDownList并设置AutoPostback属性为true。2.再在DropDownList的SelectedIndexChanged事件里写下面几句话。DropDownList ddl = (DropDownList)sender;//得到当前的DropDownListGridViewRow gvr = (GridViewRow)ddl.NamingContainer;//获取对DropDownList的容 阅读全文
posted @ 2012-12-17 15:54 sisibest 阅读(146) 评论(0) 推荐(0)
浙公网安备 33010602011771号