hi..
how to delete the selected row in datagridview using ContextMenuStri p.When i right-click and press "delete" the seleted row in the dataGridView has to be deleted and as well in my access table.I am new to C#.net
my coding is this:
but it is deleting only in datagridView and it is not getting updated in my access table.plz help me with the code,where i should write my query to delete based on the selected row .plz help me
how to delete the selected row in datagridview using ContextMenuStri p.When i right-click and press "delete" the seleted row in the dataGridView has to be deleted and as well in my access table.I am new to C#.net
my coding is this:
Code:
int curRow = 0;
curRow = this.dataGridView1.CurrentRow.Index;
this.dataGridView1.Rows.RemoveAt(curRow);
Comment