以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 岂不怪哉? (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=55303) |
-- 作者:hbhb -- 发布时间:2014/8/14 9:44:00 -- 岂不怪哉? 大师:早上好! 为何这样就出错?显示表中不含某列 Dim cmd As
New
SQLCommand 换成这样就正确 im Cols1() As String = {"来源列一","来源列二","来源列三"} For Each dr1 As DataRow In DataTables("表a").DataRows Dim dr2 As DataRow = DataTables("表B").AddNew() ????????????????????????? |
-- 作者:有点甜 -- 发布时间:2014/8/14 10:02:00 -- 看代码没有错。你自己执行一下 SELECT * From {表A} 的结果是什么
http://www.foxtable.com/help/topics/1484.htm
|