0

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?

0

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

1 Comment

I wouldn't say this is the best outlook when it comes to software development to be honest. Most of the fun I have comes from the challenge of having to achieve the difficult things, if you accept less at the first obstacle you'll have software that is not of top quality and it won't be as beneficial with regards to you growing as a developer. I didn't mean that you should opt for csv output - I meant that your question was not clear enough for me to decide on which to help you with - both outputs require very different code. Either way, good luck.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.