以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- [求助]createfromdatatable (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=136824) |
-- 作者:lxq3736 -- 发布时间:2019/6/22 11:17:00 -- [求助]createfromdatatable With wb.AddTable("","Table1") \'按日期顺序列出客户CS01的订单,仅显示产品/数量/单价/日期/审核等五列 Dim d1 As Date = Date.Today.AddDays(0) Dim d2 As Date = Date.Today.AddDays(1) .CreateFromDataTable(DataTables("CLSXJCJFD"),True," JFSJ < \'"& d2 & "\' and JFSJ > \'"& d1 & "\' " , "jfsj desc","hphm","dehj","yhje","ssje") End With e.WriteString(wb.Build) 问题:当数据发生变化时,重新加载这个页面,页面数据没有变化。好像关闭应用再打开,页面数据就更新了?问题在哪? |
-- 作者:有点蓝 -- 发布时间:2019/6/22 11:27:00 -- 重新加载的时候,后台事件有没有触发? 另外是不是设置启用了缓存?
|