Posted on: 12/4/2014 12:55:33 AM | Views : 451

Hi,

I'm having trouble with getting the Response object to upload the correct file to the users browser.

I create 2 .pdf files in a temporary folder;
1 is created using iTextSharp as I am just loading values from my database, 1 is created using NPOI as it is a conversion of a modified excel file. This part works OK and the two files are created.

Now I must merge these documents so the users get a merged document uploaded to their browser, this is the code I am using, it is a modified version of this code http://weblogs.sqlteam.com/mladenp/archive/2014/01/10/simple-merging-of-pdf-documents-with-itextsharp-5-4-5.aspx
string targetPDF = "C:\\Project Halo\\Halo Comparisons\\" + current_comparison.FileName + " ...

Go to the complete details ...