登录
首页 » Delphi » SQLiteTable3

SQLiteTable3

于 2020-06-23 发布
0 219
下载积分: 1 下载次数: 4

代码说明:

说明:  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 个回复

  • 696516资源总数
  • 106918会员总数
  • 4今日下载