DrawCell事件,用他“篡改”数据。
If e.Col.Name = "性别" Then '如果正在绘制的是密码列
if e.Row(e.Col.Name) =1 then e.Text = "男"
Elseif e.Row(e.Col.Name) =2 then
e.Text = "女"
Else e.Text = ""
End IF