2015年5月31日
摘要: 数据集数据转换为XMLfunction ReplaceString(AString: string): string;begin Result := StringReplace(AString, '&', '&', [rfReplaceAll]); Result := StringRep... 阅读全文
posted @ 2015-05-31 01:14 雪夜 阅读(373) 评论(0) 推荐(0) 编辑
摘要: unit Form_Main;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DB, Grids, DBGrids, DBClient;type ... 阅读全文
posted @ 2015-05-31 01:05 雪夜 阅读(2573) 评论(0) 推荐(0) 编辑
摘要: 1.TClientDataSet的基本属性和方法介绍1).FieldDefs: 字段定义列表属性开发者可通过单击属性编辑器中该属性编辑按钮,或在该控件上单击右键选择弹出菜单中的"Fields Editor"菜单进行字段编辑。设置完此属性后,实际上就相当于定义了表的结构;如果想装入已有的数据表的结构和... 阅读全文
posted @ 2015-05-31 00:32 雪夜 阅读(1390) 评论(0) 推荐(0) 编辑
摘要: 1、取得可文件路径 Path := ExtractFilePath(Application.ExeName); //取得可执行文件路径 TXMLDocument.Create(ExtractFilePath(Application.ExeName)+ '001.xml') 2、DisableCont 阅读全文
posted @ 2015-05-31 00:30 雪夜 阅读(653) 评论(0) 推荐(0) 编辑