日期:2014-05-18 浏览次数:20441 次
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType = DataControlRowType.Footer) { DropDownList ddl = (DropDownList)e.Row.FindControl("DropDownList1"); } }
------解决方案--------------------
没什么麻烦的。给你DropDownList1 加上selectedindexchange事件
然后在事件里边找到DropDownList2............