GridView用法:
1. 绑定datatable
public void playtable(GridView gv, DataTable dt)
{
gv.DataSource = dt;
gv.DataBind();
}
2. 添加GridView换页,选择,排序事件(05net中以datatable为数据源时需要人工添加代码
//分页
protected void GridView1_PageIndexChanging(object sender, GridViewPageEventArgs e)