在Delphi7中,用AdoTable绑定一Excel表,在Object Inspector里的Properties栏中将Active属性设置为True时,对应的DBGrid可正确显示数据;但在程序中加入语句adotable1.active:=true
然后执行时,却显示Project StdInfoManaga.exe raised exception class EVariantTypeCastError with message 'Could not couvert variant of type(Null) into type(String)' 不知什么原因,恳请指教!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货