示例#1
0
 /// <summary>
 /// 缴费类型转换
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void gridView1_CustomColumnDisplayText(object sender, DevExpress.XtraGrid.Views.Base.CustomColumnDisplayTextEventArgs e)
 {
     if (e.Column.FieldName == "RC031")
     {
         if (e.Value.ToString() == "0")
         {
             e.DisplayText = "原始登记";
         }
         else if (e.Value.ToString() == "1")
         {
             e.DisplayText = "正常";
         }
     }
     else if (e.Column.FieldName == "RC100")
     {
         e.DisplayText = MiscAction.Mapper_operator(e.Value.ToString());
     }
 }