If e.DataCol.Name = "身份证号码" Then
Dim dr As DataRow = e.DataRow
If dr.IsNull("身份证号码") Then
dr("性别") = Nothing
dr("出生年月") = Nothing
dr("年龄") = Nothing
Else
dr("性别") = ReadSex(dr("身份证号码"))
dr("出生年月") = ReadBirthday(dr("身份证号码"))
Dim t As TimeSpan = Today - CDate(dr("出生年月"))
dr("年龄") = Math.Round(t.TotalDays / 365.2422,2)
End If
End If