未处理的“System.Data.OleDb.OleDbException”类型的异常出现在 system.data.dll 中。
cn.ConnectionString = "provider=Microsoft.Jet.OLEDB.4.0;data source=d:\cs\1.xls;Extended Properties=Excel8.0"
' Select the data from Sheet1 of the workbook.
cn.Open()
昨天下班前还能正常运行,今天早上就报错
未处理的“System.Data.OleDb.OleDbException”类型的异常出现在 system.data.dll 中。