心情 天空

 




 










访




R
S
S

我的 Blog:
jybbh 最新的 20 条日志
[Ken的日志]
[工作心得]
[编程相关]
[潮汕文化]
[计算机相关]
[WEB相关]
[JAVA相关]
[Eclipse相关]
[Tomcat相关]
[SQL]
全站 Blog:
全站最新的 20 条日志

主  题: TrueGrid不绑定数据控件的时候怎么向里面加数据?

   编程相关2005-6-1 23:39
'用storage模式(tdbgrid1.datamode=4)方便易用,其他几种非帮定模式比较复杂
'在此之前必须引用APEX XArray object

Dim x As New XArray

Private Sub Form_Load()
Dim row, col As Long

x.ReDim 0, 99, 0, 3
For row = x.LowerBound(1) To x.UpperBound(1)
For col = x.LowerBound(2) To x.UpperBound(2)
x(row, col) = "Row " & row & ", Col " & col
Next col
Next row

' Bind True DBGrid Control to this XArray instance
Set TDBGrid1.Array = x

End Sub
标签集:TAGS:
回复Comments()点击Count()

回复Comments

{commenttime}{commentauthor}

{CommentUrl}
{commentcontent}
 

Copyright 2004 酷酷小家园   Powered by 5dblog