以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- [求助]如何把其他数据集中的数据显示到TABLE中 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=110011) |
-- 作者:hiliuyong -- 发布时间:2017/11/24 13:05:00 -- [求助]如何把其他数据集中的数据显示到TABLE中 从其他程序中返回一个数据集,如何展示在TABLE中,而且数据集的字段是不固定的,有没有办法直接FILL进来。 举个例子: DataTable GetOrderLabelList(string Key, string CustomerCode, string DateStart, string DateEnd) { LosAPIService las = new LosAPIService(); DataTable dt = las.GetOrderLabelList(Key, CustomerCode, DateStart, DateEnd); return dt; } 这个是一个C#DLL文件中返回了一个DataTable,我在狐表中的TABLE中如何展示出来。
|
-- 作者:有点甜 -- 发布时间:2017/11/24 14:49:00 -- 直接设置即可,如
Tables("窗口表").DataSource = 返回的dt |