Esempio n. 1
0
 public void ExportWithXSLTWindowsTest()
 {
     DataTableExport_Accessor target = new DataTableExport_Accessor(Arch.CFramework.Utility.DataTableExport.AppType.Win);
     DataSet dsExport = DS;
     string[] sHeaders = new string[] { "Name", "Age", "Account", "Birth" };
     string[] sFileds = new string[] { "Name", "Age", "Account", "Birth" };
     DataTableExport.ExportFormat FormatType = Arch.CFramework.Utility.DataTableExport.ExportFormat.Excel;
     string FileName = @"c:\3.xls"; 
     target.ExportWithXSLTWindows(dsExport, sHeaders, sFileds, FormatType, FileName); 
 }