关于sub过程使用的问题,急
发表在VB答疑区
2013-11-03
是否精华
是
否
版块置顶:
是
否
Sub view_data()
Dim i As Integer
If Adodc1.Recordset.RecordCount > 0 Then
For i = 0 To Text1.UBound
Text1(i) = DataGrid1.Columns(i).Text
Next i
End If
End Sub
Text1(i) = DataGrid1.Columns(i).Text总显示超出下标边界什么意思?
Dim i As Integer
If Adodc1.Recordset.RecordCount > 0 Then
For i = 0 To Text1.UBound
Text1(i) = DataGrid1.Columns(i).Text
Next i
End If
End Sub
Text1(i) = DataGrid1.Columns(i).Text总显示超出下标边界什么意思?