Dear Friends,
How to open File PDF File while Enter Invoice Number that PDF i have local Folder. I want reterive PDF File through AppConfing file.
For Example Enter Invoice No, i want show that invoice corresponding PDF using Windows Application.
Thanks&Regs
Manavalan
Loading

Sanjay KumarRank #561 · 4.3K reputationPosted Apr 4, 2014, 8:30 AM EDT
http://www.aspmemo.net/2014/01/how-to-generate-invoice-form-as-pdf.html
http://www.4guysfromrolla.com/articles/030911-1.aspx
Tom Swager2 reputationPosted Jun 1, 2014, 9:04 AM EDT
Rahul PrasadRank #2,557 · 546 reputationPosted Jun 2, 2014, 10:22 PM EDT
create PDF documents dynamically-
http://www.e-iceblue.com/Knowledgebase/Spire.PDF/Program-Guide/How-to-create-PDF-dynamically-and-send-it-to-client-browser-using-ASP.NET.html
does this help?
Glen Lewis14 reputationPosted Jul 11, 2014, 3:28 AM EDT
Nevertheless here is something I presume you need.
If you have an app.config file, as you menthioned, that contains locations of invoicing PDFs then you can just retrieve that location with ConfigurationManager and use Process.Start to open that PDF in the machine's default application for PDF format, something like the following:
string pdfInvoice1 = ConfigurationManager.AppSettings["1"];
Process.Start(pdfInvoice1);
If I'm mistaken and you actually need to generate a new invoice, then check out this article how to create a new PDF file in C#.