很久没写了。

取得行值代码很简单,这个事件是点击嵌入的按钮触发的:

        protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)
        {
            int pageRowIndex = Convert.ToInt32(e.CommandArgument);
        ...
        }

记录在此备忘。

相关文章:

  • 2021-09-14
  • 2021-08-10
  • 2022-12-23
  • 2022-12-23
  • 2022-02-11
  • 2022-12-23
猜你喜欢
  • 2021-12-21
  • 2021-09-05
  • 2021-11-23
  • 2022-02-11
  • 2022-12-23
  • 2021-11-29
相关资源
相似解决方案