I have added and populated a datagrid adding a dataadapter to the form and making the connection and creating the dataset etc. When the form loads, the datagrid generates properly, and I can edit a field by clicking the field in the datagrid and type it in and I can add a new row by clicking the * at the bottom of the datagrid. I have a save button that saves the changes by using this code:
However, I can't delete an entire row within the datagrid. It seems I should be able do that right within the datagrid itself just as I can edit and add a row.
Is there a property or something I need to set to be able to delete a row within the datagrid control?
VB.NET:
[SIZE=2]OleDbDataAdapter1.Update(EmpInfoDataSet1)
[/SIZE]
However, I can't delete an entire row within the datagrid. It seems I should be able do that right within the datagrid itself just as I can edit and add a row.
Is there a property or something I need to set to be able to delete a row within the datagrid control?