c# - xceed datatgrid export to excel Xceed.Wpf.DataGrid.Export.ExcelExporter class is not found -


i trying export datagrid's data excel. tried using xceed document (see code below).

but there, not able find xceed.wpf.datagrid.export.excelexporter

public static void exporttoexcel(xceed.wpf.datagrid.datagridcontrol dg, string file_name) {     try     {        xceed.wpf.datagrid.export.excelexporter exporter = new excelexporter(dg);         // details         exporter.detaildepth = int.maxvalue;         // use current system list separator         exporter.formatsettings.separator = cultureinfo.currentculture.textinfo.listseparator[0];         exporter.export("d:\\orders.csv");         messagebox.show("excel file has been saved");     }     catch (exception ex)     {         messagebox.show(ex.message);     } } 

enter image description here


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -

r - Update two sets of radiobuttons reactively - shiny -