DataTable Excel
摘要:
这里是使用Microsoft.Office.Interop.Excel类进行Excel表格操作,核心代码就这些了。麻烦的是服务器上的一些关于access的权限配置。 string file = System.AppDomain.CurrentDomain.BaseDirectory + "对账单\\" + filename; if (ExcelHelper.DataTableToCSV(dt, file + System.Web.HttpContext.Current.Session["us_Name"] + ".csv", new 阅读全文
posted @ 2011-12-13 11:36
飞舞的蒲公英
阅读(430)
评论(0)
推荐(0)