X
xlf1979
Unregistered / Unconfirmed
GUEST, unregistred user!
下面是小弟的代码,请高手们帮我查下问题出在哪?最好能给出准确的能执行的代码,谢谢!ADOQuery1.SQL.Clear;ADOQuery1.SQL.Add('SELECT * into ww FROM openDataSource(''Microsoft.Jet.OLEDB.4.0'',''Data Source='''+OpenDialog1.filename+''';User ID=Admin;Password=;Extended properties=Excel 5.0'')...[Sheet1$]');ADOQuery1.ExecSQL;