title: How to use dgv to select from rows using checkboxes to insert specific records into database
body: <p>i was wondering if anyone could explain or point me to a suitable tutorial which explains how i would go about using datagridviews to insert the rows selected using checkboxes into the database. To explain a bit more understanding i'm trying to create an add (food) products feature which would use a dgv to select its included ingredients from my sql server database table of ingredients. </p>
  
  <p>So far I've the dgv bringing up the list of ingredients as well as the checkboxes displaying working, i also already know how to write an insert sql script but i cant figure out how to use the checkboxes as the deciding factor in which rows are inserted. Thanks in advance for any help!</p>