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 阅读(407) 评论(0) 推荐(0) 编辑