tags:

views:

117

answers:

3

I am working on a application in .net.I want to do all calculation and then to print all the information of the selected items on a given page of the company and then to take the print of that page and also to save the same page in DB and send invoice to the client through email in .pdf. Please suggest.?

A: 

If you can spend some money on a report generator tool, have a look at the Xtra Reports from DevExpress: Link. This can export to pdf. Then I would take the generated file and store it (or a reference to it) in the database. For actually sending the mail you could use the MailMessage-Class in System.Net.Mail

Stephan Keller
A: 

I would generate and store XML and have XSLT conversions to PDF, HTML, etc... consider this previous post.

A quick google for 'c# xml xslt pdf', gave me this link which may be helpful.

kenny
A: 

You can use RDLC to define report. It can export it to PDF/Excel. You can export report to pdf and attach it to send email using System.Net.Mail.MailMessage class. You can also print the report using Report Viewer tool.

Alternately you can also use Crystal Reports bundled with visual studio.

TheVillageIdiot