--
DataColChanged事件
Select Case e.DataCol.Name
Case "名称"
Dim drs As List(Of DataRow)
If e.OldValue > "" Then
drs = e.DataTable.Select("名称=\'" & e.OldValue & "\'","[_Identify]")
For i As Integer = 0 To drs.Count - 1
drs(i)("备注") = "第" & (i + 1) & "次"
Next
End If
If e.NewValue > ""
drs = e.DataTable.Select("名称=\'" & e.NewValue & "\'","[_Identify]")
For j As Integer = 0 To drs.Count - 1
drs(j)("备注") = "第" & (j + 1) & "次"
Next
End If
End Select