L
lingguang8888
Unregistered / Unconfirmed
GUEST, unregistred user!
我按以前论坛里说的一个方法导,不成功,请高手帮忙指点下:<br>用ADOConnection连接excel文件串如下:<br>Provider=Microsoft.Jet.OLEDB.4.0;Password="";Data Source=E:/OracleToExcel/OracleToExcel.xls;Extended Properties="Excel 8.0;HDR=Yes";Persist Security Info=flase<br><br>sqltxt = "select * into Result from TabUserInfo in [ODBC][ODBC;Driver={Microsoft ODBC for Oracle};UID=aa;PWD=aa;SERVER=aa;]";<br>ConnTxt->Execute(sqltxt);<br>执行总是异常,不知何因,