How to save data from a DataGridView into database? c# winforms <p>I have this little application, and what it does is a user can add many deductions to a certain employee and save the record.</p> <p><img src="https://i.stack.imgur.com/Y2mVu.png" alt="alt text"></p> <p>What I do in my coding is I pass all the values to a <code>DataTable</code> and loop through each rows and execute a stored procedure that inserts the particular row with the column values. This happens until there are no rows to be inserted from the DataTable. </p> <p>Is there any shortcut? I mean, can I insert the whole value of datatable in one call? I just thought that my current way of inserting data is very resource consuming because it always calls the stored procedure in the server as long as there are rows in the datatable.</p> <p>Any work around or suggestions? I would be very thankful. I hope you understand me,. thanks in advance.</p>