protected void GridView1_RowCreated(object sender, GridViewRowEventArgs e)
{
e.Row.Cells[0].Style.Add("display", "none");//选择列的隐藏用样式实现
if (e.Row.RowIndex >= 0)
e.Row.Attributes.Add("onclick", "javascript:__doPostBack('GridView1','Select$" + e.Row.RowIndex + "')");
}
相关文章:
-
2022-12-23
-
2022-12-23
-
2022-12-23
-
2022-12-23
-
2022-02-08
-
2022-12-23
-
2022-12-23
-
2022-12-23
猜你喜欢
-
2022-12-23
-
2021-12-04
-
2022-12-23
-
2021-12-03
-
2021-06-27
-
2021-11-30
相关资源
-
下载
2023-01-01
-
下载
2022-12-30
-
下载
2023-02-02