Silverlight / WPF - I wanted to import all the data from datagrid to excel or pdf in wpf

Asked By sanjiv kumar sah on 07-Jun-13 06:53 AM
i have created an application in wpf.i wanted to import data from gridview to excel sheet or pdf format.Please help me
Robbe Morris replied to sanjiv kumar sah on 07-Jun-13 09:52 AM
spreadsheetgear.com and aspose.com  both vendors offer easy to use controls for this sort of thing.
Tony Reilly-Cooper replied to sanjiv kumar sah on 10-Jun-13 05:59 AM
Just to clarify you want to export the data from a datagridview into Excel or PDF? 

This is one I have used before, might need a bit of tweaking for WPF. 

http://www.codeproject.com/Questions/527751/Exportplusdatagridviewplustoplusexcelplusvb-net

Cheers

Tony