首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > .NET >

9年前的老程序有关问题:[DCC Error] myTableUnit.pas(195): E2010 Incompatible types: 'TFileNa

2012-02-28 
9年前的老程序问题:[DCC Error] myTableUnit.pas(195): E2010 Incompatible types: TFileName and stri

9年前的老程序问题:[DCC Error] myTableUnit.pas(195): E2010 Incompatible types: 'TFileName' and 'string'
出现问题的地方:
  Property IndexName:String read FIndexName write FIndexName;
  Property TableName:String read FTableName write FTableName;


[解决办法]
FIndexName 和 FTableName 定义的是TFileName类型,而你得属性定义的是字符串类型,检查你的代码吧

热点排行