摘要:
Action:View Code protected override void OnException(ExceptionContext filterContext) { if (filterContext == null) return; var ex = filterContext.Exception ?? new Exception(" not futher infomation exists ."); filterContext.ExceptionHandled = true... 阅读全文
摘要:
http://www.cnblogs.com/fellowcheng/archive/2010/08/21/1805158.html上面没有读取Excel文件的方法,补充一个:View Code FileStream stream = File.Open(filePath, FileMode.Open, FileAccess.Read);//1. Reading from a binary Excel file ('97-2003 format; *.xls)IExcelDataReader excelReader = ExcelReaderFactory.CreateBinaryRe 阅读全文