sender, GridViewRowEventArgs e)
        {
            if (e.Row.RowType == DataControlRowType.DataRow)
            {
                e.Row.Attributes.Add(
"onmouseover""this.style.backgroundColor='purple'");
                e.Row.Attributes.Add(
"onmouseout""this.style.backgroundColor='white'");

                e.Row.Attributes.Add(
"onclick""javascrpit:window.open('Midlle.aspx?TaskID=" + e.Row.Cells[1].Text  + "&TaskName=" + e.Row.Cells[2].Text + "')");
            }
        }

    

相关文章:

  • 2022-02-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-26
  • 2022-12-23
  • 2022-12-23
  • 2022-01-05
  • 2022-12-23
  • 2021-12-23
相关资源
相似解决方案