Good Night

导航

2014年4月1日 #

C#导出Excel,并设置简单格式

摘要: protected void ExportExcel(DataTable dt) { string fileName = “FileName”; Microsoft.Office.Interop.Excel.Application excel = new Microsoft.Office.Interop.Excel.ApplicationClass(); int rowIndex = 1;//列 int colIndex = 0;//行 excel.App... 阅读全文

posted @ 2014-04-01 13:42 胡同。 阅读(930) 评论(0) 推荐(0) 编辑