VB 请问高手:如何用DBgrid直接显示数据?(初学者)
PrivateSubCommand1_Click()ReDimn(0To1000)AsStringi=1Fora=0To9Fors=0To9Ford=0To9n(i)=S...
Private Sub Command1_Click()
ReDim n(0 To 1000) As String
i = 1
For a = 0 To 9
For s = 0 To 9
For d = 0 To 9
n(i) = Str(a) + Str(s) + Str(d)
i = i + 1
Next d, s, a
For i = 1 To 1000
(这儿用DBGRID的什么来直接显示数据)
DBgrid. ??? =n(i)
Next i
End Sub 展开
ReDim n(0 To 1000) As String
i = 1
For a = 0 To 9
For s = 0 To 9
For d = 0 To 9
n(i) = Str(a) + Str(s) + Str(d)
i = i + 1
Next d, s, a
For i = 1 To 1000
(这儿用DBGRID的什么来直接显示数据)
DBgrid. ??? =n(i)
Next i
End Sub 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询