怎么样取得FooterTemplate中的dropdownlist控件对象?
我的datagrid一开始只有一个Footer 然后让用户在dropdownlist中选择 我触发了selectindexchange事件
private void drop_selectedIndexChanged(object sender,System.EventArgs e)
{
DropDownList droplist=(DropDownList)sender;
int selectindex=droplist.SelectedIndex;
this.BindGrid();
droplist.SelectedIndex=selectindex;
}
为什么dropdownlist又恢复到默认值了 这个该怎么解决啊