1
It seems simple to me:
you are saving all files in the loop by the same name, see here:
- string pdfPath = ConfigurationManager.AppSettings["pdfPath"].ToString() + "Invoice_Orders.pdf";
change your code to add a unique name every time, using some ID or a new Guid, e.g.
- string pdfPath = ConfigurationManager.AppSettings["pdfPath"].ToString() + "Invoice_Orders.pdf" + Guid.NewGuid().ToString();
Accepted 1
Thank You so much valueble info Nilesh Shah Its working.