Advertisement
Guest User

Untitled

a guest
Apr 16th, 2014
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. private void printAllPDF(List<Invoice> Invoices)
  2. {
  3. string path = "C:/temp/";
  4. foreach (Invoice inv in Invoices)
  5. {
  6. PDF = PrintToPDF("PrintPage.Aspx?InvoiceGUID="+ inv.GUID);
  7. PDF.SaveAs(path , inv.GUID +".PDF");
  8. }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement