日期:2014-05-17  浏览次数:20397 次

获取GridView里的DropDownList的选定值
选择DropDownList的选定值后会自动初始化,怎么办?
还有 DropDownList1_SelectedIndexChanged具体怎么写

------解决方案--------------------
探讨
protected void ddlDe_SelectedIndexChanged(object sender, EventArgs e)
{
DropDownList ddl = (DropDownList)sender; //得到当前的DropDownList
GridViewRow gvr = (GridViewRow)ddl.NamingContainer; //获取对D……

------解决方案--------------------
if(!IsPostBack)