请路过看看!!!!!!!!!!!!!!!!1 在翻页事件中重新将要显示的内容绑定到DROPDOWNLIST 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 private void DataGrid1_PageIndexChanged(object source, System.Web.UI.WebControls.DataGridPageChangedEventArgs e) { this.DataGrid1.CurrentPageIndex=e.NewPageIndex; for(int i=0;i<this.DataGrid1.Items.Count;i++) { DropDownList list=(DropDownList)DataGrid1.Items[i].FindControl("DropDownList1"); list.DataSource=list_1; list.DataBind(); } DataGrid1.DataSource=ds.Tables[0].DefaultView; DataGrid1.DataBind(); //} }我绑了,可是还是!!!哎 应该是绑定DataGrid1后再绑定DropDownList吧 如何关闭父页面。。请高手看看 如何实现鼠标经过DataGrid某行某列,就会显示一个新的DataGrid? 问个关于加样式的问题! 请问数据库类别栏目设计问题 javascript问题 菜鸟问题请教,请指点 单击LinkButton时在新窗口中打开一个页面并传递参数的代码应该怎么写? 如何实现英文的换行的功能啊 一个关系重大的问题???? 如何注册一个SQL的新实例? .net多层结构企业应用开发大讨论 ADO.NET得问题
{
this.DataGrid1.CurrentPageIndex=e.NewPageIndex;
for(int i=0;i<this.DataGrid1.Items.Count;i++)
{
DropDownList list=(DropDownList)DataGrid1.Items[i].FindControl("DropDownList1");
list.DataSource=list_1;
list.DataBind();
}
DataGrid1.DataSource=ds.Tables[0].DefaultView;
DataGrid1.DataBind();
//}
}
我绑了,可是还是!!!哎