user896692
user896692

Reputation: 2371

Export DataGrid Data to PDF

I know that there are a few similar questions and I googled a lot but the code samples are all over using objects. In my WPF-application, I don´t have objects(like book, store etc.), I just fill a datagrid with data from SQLExpress.

What is the best way to export this data to pdf/csv?

Upvotes: 0

Views: 708

Answers (1)

SkonJeet
SkonJeet

Reputation: 4915

You say export to pdf/csv - but they're both very different topics for discussion. If by using '/' you mean 'or', well then google something like "c# write text file". The more difficult one would be writing to pdf - you'll need a third party library. I won't ellaborate any further because the quality of your question doesn't warrant it.

Upvotes: 1

Related Questions