I have multiple rows in my SQL database table in which some column I am using for generating the bill, What I am doing is I am fetching all the rows in the list and loop through that list and for each loop row I am performing the calculation and saving it into the list and then saving that into the database.
Now my Question is . 1. Is there any other way to execute the task I mean a better way and 2. How can I insert multiple rows from my Asp.net MVC application into the database(Just need Idea ). 3. And in the end of above process I want to generate a PDF containing all bill information
Thanks in Advance