只需设定此事件!
 protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
    {
        int count = GridView1.Rows.Count;
        string ID = "";
        for (int i = 0; i < count; i++)
        {
            ID = GridView1.DataKeys[i].Value.ToString();
            GridView1.Rows[i].Attributes.Add("ondblclick", "window.open('FlowStationEdit.aspx?ID=" + ID + "','FS_Left','')");

        }
    }

相关文章:

  • 2021-11-13
  • 2022-02-25
  • 2022-12-23
  • 2022-12-23
  • 2021-08-28
  • 2021-09-17
  • 2021-09-21
猜你喜欢
  • 2021-11-16
  • 2022-12-23
  • 2022-12-23
  • 2021-07-27
  • 2022-12-23
  • 2021-10-09
  • 2021-07-30
相关资源
相似解决方案