With DataGrid1
If .ApproxCount < 1 Then
MsgBox "当前表中没有数据", vbInformation, "提示"
Exit Sub
End If
lngRow = .Row
If .ApproxCount > 0 Then
.Row = 0
.Row = 1
.Row = 3
.Row = 4
.Col = 1
End If
.Row = lngRow
End With
这段代码是用于刷新DataGrid1,谁能帮我注释一下?为什么这样写(
.Row = 0
.Row = 1
.Row = 3
.Row = 4
.Col = 1
)就起到了刷新的作用?
If .ApproxCount < 1 Then
MsgBox "当前表中没有数据", vbInformation, "提示"
Exit Sub
End If
lngRow = .Row
If .ApproxCount > 0 Then
.Row = 0
.Row = 1
.Row = 3
.Row = 4
.Col = 1
End If
.Row = lngRow
End With
这段代码是用于刷新DataGrid1,谁能帮我注释一下?为什么这样写(
.Row = 0
.Row = 1
.Row = 3
.Row = 4
.Col = 1
)就起到了刷新的作用?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货