老师好
'If e.DataCol.Name = "方向" Then
' If e.newvlaue = "A"
' Dim idx As Integer = tabels("表A").findrow(e.DataRow)
'tabels("表A").Select(idx ,tabels("表A").cols("第一列").index)
'ElseIf e.newvlaue = "B"
'Dim idx As Integer = tabels("表A").findrow(e.DataRow)
'tabels("表A").Select(idx ,tabels("表A").cols("第二列").index)
'End If
'End If
此主题相关图片如下:2024-10-11 14 05 14.png
认真看帮助,对比提示的错误,属性名称写错了。还看不出来,再看10遍