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
浙公网安备 33010602011771号