U
Unemployed Programmer
I have a form that has an SqlConnection, SqlDataAdapter & DataSet as
components, and a DataGrid control that has this DataSet as the DataSource.
I do sqlDataAdapter1.Fill( dataSet11, "tableName" ), and the control fills up
properly. I do an update by typing in a new value in a grid, then have a
button click event do sqlDataAdapter1.Update( dataSet11, "tableName" ), and it
updates the datebase. I add a new row to the DataGrid by clicking on the "*"
button, then the Update() call, and it updates the datebase.
But I can't figure out how to delete a row from the grid!
Please help. Thanks
components, and a DataGrid control that has this DataSet as the DataSource.
I do sqlDataAdapter1.Fill( dataSet11, "tableName" ), and the control fills up
properly. I do an update by typing in a new value in a grid, then have a
button click event do sqlDataAdapter1.Update( dataSet11, "tableName" ), and it
updates the datebase. I add a new row to the DataGrid by clicking on the "*"
button, then the Update() call, and it updates the datebase.
But I can't figure out how to delete a row from the grid!
Please help. Thanks