if (e.Row.RowType == DataControlRowType.DataRow)
            {

                    e.Row.Cells[1].BackColor = System.Drawing.Color.Red;//第二列的颜色

           }

相关文章:

  • 2021-11-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-25
  • 2021-10-03
  • 2021-09-29
  • 2022-12-23
猜你喜欢
  • 2021-09-21
  • 2021-11-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案