Home > Net > Want to use Excel to do database, use OleDbConnection connection Excel file creation abnormality, on
Want to use Excel to do database, use OleDbConnection connection Excel file creation abnormality, on
Time:10-19
Want to use Excel to do database, when open the Excel file with OleDbConnection, throw exceptions are: System. Data. The OleDb. OleDbException: "failed to create file," Code is based on the c # operation Excel to add and delete instances to write, but I don't know why, as long as the @ "\ ExcelDB XLSX"; To @ "d: \ ExcelDB XLSX"; Will appear this exception, Excel is 07, want see what a great god,
CodePudding user response:
The use of excel in database, and strange people do strange things,