protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
        {
            if (e.Row.RowType == DataControlRowType.DataRow)
            {
                System.Data.DataRowView dv = e.Row.DataItem as System.Data.DataRowView;

                e.Row.Cells[2].Text = status.ConvertKeyToValue.DefectsTypeValue(dv.Row["类型"]);
                e.Row.Cells[3].Text = status.ConvertKeyToValue.DefectsLevelValue(dv.Row["等级"]);

            }
        }

 

相关文章:

  • 2021-10-25
  • 2021-04-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-11
  • 2021-06-10
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-04
  • 2022-01-12
  • 2021-10-02
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案