//这样取到的myDropDownList就是StateList,其他自己再根据需要操作吧
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.Pager)
{
DropDownList myDropDownList = (DropDownList)e.Row.FindControl("StateList"); }
}
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.Pager)
{
DropDownList myDropDownList = (DropDownList)e.Row.FindControl("StateList"); }
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货