2012年4月19日

aspose将datatable导出2

摘要: publicstaticboolExportExcelWithAspose(System.Data.DataTabledt,stringpath)2{3boolsucceed=false;4if(dt!=null)5{6try7{8Aspose.Cells.Licenseli=newAspose.Cells.License();9stringlic=Resources.License;10Streams=newMemoryStream(ASCIIEncoding.Default.GetBytes(lic));11li.SetLicense(s);1213Aspose.Cells.Workb.. 阅读全文

posted @ 2012-04-19 11:56 JQuery-Ch 阅读(406) 评论(0) 推荐(0) 编辑

aspose将datatable导出excel 比自己拼好的多 Bug少-。.net

摘要: using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.IO;using System.Data;using Aspose.Cells;/// <summary>///OutFileDao 的摘要说明/// </summary>publicclass OutFileDao{public OutFileDao(){////TODO: 在此处添加构造函数逻辑//}/// <summary>/// 测试程序/// </summa 阅读全文

posted @ 2012-04-19 11:50 JQuery-Ch 阅读(761) 评论(0) 推荐(0) 编辑

导航