摘要: 使用数据连接池(TIWDataModulePool).新建工程时勾选 Pool Data Connections:新增的 Pool(TIWDataModulePool) 被放在 ServerController 的窗体上(其实它也是个数据模块), 需要知道的变化是它增加了两个函数:function ... 阅读全文
posted @ 2014-06-28 11:58 万一 阅读(6187) 评论(9) 推荐(0) 编辑
摘要: 一般情况下, 数据源相关控件应该有数据模块中统一管理, 这也方便其他窗体调用; UserSessionUnit 就是一个现成的数据模块.现在把数据源相关控件放在 UserSessionUnit 的窗体上:FDPhysSQLiteDriverLink1: TFDPhysSQLiteDriverLink... 阅读全文
posted @ 2014-06-28 11:18 万一 阅读(3559) 评论(0) 推荐(0) 编辑
摘要: 为通过 FireDAC(XE5开始支持的) 使用 SqLite, 现在已换成 XE6 + IntraWeb v14.0.32 Ultimate.首先把官方提供的 C:\Users\Public\Documents\Embarcadero\Studio\14.0\Samples\data\FDDemo... 阅读全文
posted @ 2014-06-28 10:52 万一 阅读(5391) 评论(2) 推荐(0) 编辑
摘要: TIWDBCheckBox 所在单元及继承链:IWDBStdCtrls.TIWDBCheckBox 主要成员:property AutoEditable: Boolean //根据 DataSource 和 DataField 的情况决定是否可以编辑; 默认 Falseproperty Data... 阅读全文
posted @ 2014-06-28 10:39 万一 阅读(4389) 评论(0) 推荐(0) 编辑