I
imok
Unregistered / Unconfirmed
GUEST, unregistred user!
Adoconnection1.ConnectionString:='Provider=Microsoft.Jet.OLEDB.4.0;Data Source='+opendialog1.FileName+';Extended Properties=Excel 8.0;Persist Security Info=False';
Adodataset1.Recordset:=Adoconnection1.Execute('select * from [sheet1$]');
然后在DBGRID中显示,但发现有些行只显示第一列内容,后面的内容不显示,请问是什么原因?
Adodataset1.Recordset:=Adoconnection1.Execute('select * from [sheet1$]');
然后在DBGRID中显示,但发现有些行只显示第一列内容,后面的内容不显示,请问是什么原因?