A
almeidar
Unregistered / Unconfirmed
GUEST, unregistred user!
我不知道原因,还望各位解答:
Table1 : TTable;
ADODataSet1 : TADODataSet;
TBlobStream(Talbe1.FieldByName('xxx') as TBlobField,bmWrite) 没有错误
TBlobStream(ADODataSet1.FieldByName('xxx') as TBlobField,bmWrite) 则出现
Invalid class typecast 错误。
TTable和TADODataSet都由TDataSet而来,
Table1.FieldByName和ADODataSet1.FIeldByName类型都是TField,为什么还会出现这种
问题呢?
Table1 : TTable;
ADODataSet1 : TADODataSet;
TBlobStream(Talbe1.FieldByName('xxx') as TBlobField,bmWrite) 没有错误
TBlobStream(ADODataSet1.FieldByName('xxx') as TBlobField,bmWrite) 则出现
Invalid class typecast 错误。
TTable和TADODataSet都由TDataSet而来,
Table1.FieldByName和ADODataSet1.FIeldByName类型都是TField,为什么还会出现这种
问题呢?