11 2018 档案

摘要:delphi中有直接把10进制转换成16进制的函数: function IntToHex(Value: Integer; Digits: Integer): string; overload; function IntToHex(Value: Int64; Digits: Integer): str 阅读全文
posted @ 2018-11-21 11:00 Thenext 阅读(293) 评论(0) 推荐(0) 编辑
摘要:如果要使用LeftStr,RightStr,MidStr必需引用系统单元StrUtils; 声明变量Str:string; Str:=HelloWorld; 1,LeftStr(Str,2)=He;//从Str字符串变量的最左边(第一个字符包括第一个字符)开始截取2个字符; 2,RightStr(S 阅读全文
posted @ 2018-11-21 10:55 Thenext 阅读(459) 评论(0) 推荐(0) 编辑
摘要:Delphi数据类型与各数据库数据类型对比如下表,如有具体说明见表中脚注: Delphi Type Oracle Types SQL Server Types MySQL Types [1] InterBase Types PostgreSQL Types SQLite Types ftSmalli 阅读全文
posted @ 2018-11-13 13:56 Thenext 阅读(728) 评论(0) 推荐(0) 编辑
摘要:procedure TForm1.cxVerticalGrid1Edited(Sender: TObject; ARowProperties: TcxCustomEditorRowProperties);begin if Assigned(cxVerticalGrid1.InplaceEditor) 阅读全文
posted @ 2018-11-09 15:58 Thenext 阅读(277) 评论(0) 推荐(0) 编辑
摘要:备份并新建同名数据库,并替换原数据文件 1 把问题数据库备份后直接删除 停掉SQLSERVER服务,把服务器上出问题的数据库, 假设名称为 test的数据库文件及日志文件备份到其他目录,然后直接将其删除,把其数据库文件及日志文件也删除 2 新建同名数据库 启动SQLSERVER服务,新建同名数据库t 阅读全文
posted @ 2018-11-06 16:21 Thenext 阅读(724) 评论(0) 推荐(0) 编辑
摘要:设置 cxGrid 的某列的 CellMerging 属性可使这一列相同值的单元格合并。 1)cxGridDBTableViewColumn1.Options.CellMerging:=true 2)编写代码procedure TfrmYFCOPR01A.cxGrid1DBBandedTableVi 阅读全文
posted @ 2018-11-05 13:53 Thenext 阅读(348) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示