Rss & SiteMap

Foxtable(狐表) http://www.foxtable.com

新一代数据库软件,完美融合Access、Foxpro、Excel、vb.net之优势,人人都能掌握的快速软件开发工具!
共3 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:请教狐狸爸爸关于DataList

1楼
yhl1122 发表于:2011/11/12 14:57:00

Dim dst As WinForm.DataList = e.Form.Controls("DataList1")
For Index As Integer = 0 To dst.Count - 1
    If dst.GetChecked(Index) Then
        Dim dr1 As DataRow = dst.GetDataRow(Index)
        Dim dr2 As DataRow = DataTables("表B").AddNew()
        For Each dc As DataCol In DataTables("表A").DataCols
            dr2(dc.Name) = dr1(dc.Name)
        Next
    End If
Next

这段代码中的DataList我中帮助中查询不到,代码的第一句也不知道是什么意思,请狐狸爸爸指点一下

2楼
狐狸爸爸 发表于:2011/11/12 16:37:00

DataList 这个控件是测试阶段才有的,正式版本已经删除了。

建议多看帮助,只有充分掌握帮助,看他人的文件才有意义。

[此贴子已经被作者于2011-11-12 16:37:41编辑过]
3楼
yhl1122 发表于:2011/11/12 17:12:00
哦,谢谢
共3 条记录, 每页显示 10 条, 页签: [1]

Copyright © 2000 - 2018 foxtable.com Tel: 4000-810-820 粤ICP备11091905号

Powered By Dvbbs Version 8.3.0
Processed in .02344 s, 2 queries.