如何在“C#”中为错误处理异常,例如->
Code:
Workbooks.Open(folderPath,filename,Excel.XlPlatform.xlWindows,"",""....)
"System.Runtime.InteropServices.COMException (0x80070BBC): Office has detected a problem with this file. To help protect your computer this file cannot be opened.
at Excel.Workbooks.Open"
很少有优秀的作品没有错误,但很少有人能超越错误。请提出一些答案。谢谢。