常常看到如何处理Excel文件的提问,这里小结一下,欢迎大家补充。 ▲1、通过Excel的接口操作★限制:需要安装Excel▲1.1、采用interop方式。参考:《Creating an Excel Spreadsheet and Adding Data to It Programmatically》http://www.csharphelp.com/archives/archive241.html▲1.2、使用反射的技术。参考:《Calling a COM Component From C# (Late Binding)》http://www.c-sharpcorner.com/1/ca...[ 查看全文 ]
1.错误信息(错误信息我不用翻译成中文了把,呵呵,大家谅解) Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC Microsoft Access 97 Driver] The Microsoft Jet database engine cannot open the file '(unknown)'. It is already opened exclusively by another user, or you need permission to view its data. 原因: 这个错误发生在当IIS使用匿名帐号(通常是IU...[ 查看全文 ]