I am making a web part which will gather data from some lists and database tables and present it in custom format. For e.g. there will be logo on top, with date on right side and then below it data will be shown such as:
No. Name Class Type
I want this report to be generated in PDF on the fly. So basically there is a button on my web part clicking on which will generate this report in PDF. What's the best way to do that?