2
Answers

dataGridView doesnt update SQL table

evan liewer

evan liewer

12y
1.9k
1
I cannot figure out how to update the SQL database by deleting rows in my dataGridView.

I populate the Grid with a table adapter, and can delete items on the list, which only deletes the items in the table.  What code do i need to save changes from the changed datagrid to my SQL server.  

I am looking at the created code of 
private void bindingNavigatorDeleteItem_Click(object sender, EventArgs e)
        {

        }

What code do i place here, do I create a new table adapter? Also, how do i call my previously created table adapter if it is in a private void call?
Answers (2)