Last post Apr 04, 2016 03:31 AM by navneetmitawa
Mar 30, 2016 10:40 AM|Baiju EP|LINK
I have a small web (asp.net+VB=SQL) application (non commercial) and now the bills are generated mannually by clicking on each id and the bill gets generated in asp.net web page and prints to pdf. how can i automate it so that by clicking on a button i can
save all bils to pdf and further i want to send it in email to users. email id is added in pdf file.
Mar 30, 2016 11:26 AM|navneetmitawa|LINK
Try to use rdlc reports
Mar 31, 2016 06:57 AM|Cole Wu|LINK
Hi Baiju EP,
how can i automate it so that by clicking on a button i can save all bils to pdf and further i want to send it in email to users. email id is added in pdf file.
You could use HtmlTextWriter
to collect the content of PDF file, then using iTextSharp DLL generate the PDF file, then send an email with PDF file as attach to user. And the following link provide a sample for your reference.
Apr 03, 2016 02:26 AM|Baiju EP|LINK
Sir I had already referd this post. i had made the invoice portion and a complete gridview with hyperlink of ID is made. there is a specific design in invoice and data from database as per their monthly expense is to be shown in bill. Now i am clicking on
each link and the bill gets displyed in asp.net page then selects print and uses pdf printer and saves in pdf and manually sends email to users.
i was searching for a solution through i can generate the bills automatically into pdf on a single click (generate) and save the bills in computer..
And further send bulk emails ti users
Apr 04, 2016 03:31 AM|navneetmitawa|LINK
It can be done in many ways like
1.Create RDLC report and call print without display like then you have a pdf file and you can attach with attachment.
2. You can also use iTextSharp library for creating pdf file.