Foxtable(狐表)用户栏目专家坐堂 → 复选框筛选


  共有8746人关注过本帖树形打印复制链接

主题:复选框筛选

帅哥哟,离线,有人找我吗?
ahbzczy
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:童狐 帖子:268 积分:2307 威望:0 精华:0 注册:2010/3/26 14:08:00
  发帖心情 Post By:2012/6/23 6:25:00 [显示全部帖子]

Dim Cols1() As String = {"订货日期","客户名称","订单号","产品型号","产品名称","产品规格","产品颜色","数量","金额","已发货","备注"}
Dim Cols2() As String = {"订货日期","客户名称","订单号","产品型号","产品名称","产品规格","产品颜色","数量","金额","已发货","备注"}
Dim dhrq As String = e.Form.Controls("ComboBox1").text   

                               'e.Form.Controls("ComboBox1").Value
For Each dr1 As DataRow In DataTables("订单明细表").select("订单号 = '" & dhrq & "'")  

    Dim dr2 As DataRow = DataTables("订单表").AddNew()
    For i As Integer = 0 To Cols1.Length -1
        dr2(Cols2(i)) = dr1(Cols1(i))
    Next
Next
MainTable= Tables("订单表")

[此贴子已经被作者于2012-6-23 9:24:40编辑过]

 回到顶部