登录
首页 » Delphi » SQLiteTable3

SQLiteTable3

于 2020-06-23 发布 文件大小:12KB
0 181
下载积分: 1 下载次数: 0

代码说明:

  SQLite Table3.pas修正版,解决中文显示乱码,以及最后一字符乱码。delphi 里UTF8Encode和UTF8Decode两函数配合使用,例:获取sltb := slDb.GetTable(UTF8Encode(sSQL)); 显示字段sd.Cells[i + 1, sltb.Row + 1] :=UTF8Decode(sltb.FieldAsString(sltb.FieldIndex[sltb.Columns[i]]));(The revised version of SQLite Table 3. PAS solves the problem of Chinese display scrambling and last character scrambling. In delphi, UTF8Encode and UTF8Decode functions are used together, for example: get sltb: = slDb. GetTable (UTF8Encode (sSQL); display field sd. Cells [i + 1, sltb. Row + 1]: = UTF8Decode (sltb. Field String (sltb. Field Index [sltb. Columns [i]);)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696518资源总数
  • 106161会员总数
  • 5今日下载