前台GridView页脚代码:

>

后台绑定事件:

 

        }

bind_gv()是
DataTable dt = new DataTable();
//dt = ClsDataBase.ExecuteNonQuery("select * from test");//这里放你的查询方法
this.GridView1.DataSource = dt;
this.GridView1.DataBind();

(出处:http://blog.csdn.net/zhaoqiliang527/archive/2009/02/15/3893312.aspx)

 

相关文章:

  • 2021-12-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-21
  • 2022-02-19
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-07-25
  • 2022-01-09
  • 2022-12-23
  • 2021-11-29
  • 2022-12-23
  • 2021-07-20
相关资源
相似解决方案