相关的GridView从数据库中我已经GridView控件绑定..问题在ASP.net
我有下面的代码:当用户选择了一些
protected void Page_Load(object sender, EventArgs e)
{
BindGrid();
}
现在,我有checkBox
和drop-down
GridView控件,里面从复选框,并单击行上Update Button
,Page_Load
事件触发,并呼吁BindGrid();
方法和选择的行应该得到隐藏。
如何在页面加载事件后保留复选框值。
我不想用IsPostBack
财产在页面加载,因为我已经使用寻呼。
我怎样才能解决我的问题?