Home › Forums › WinForms controls › Xceed Grid for WinForms › Deleting a row from Dataset clears the grid › Reply To: Deleting a row from Dataset clears the grid
Hi TonyEvans,
The proper way to delete a row from the Datagridcontrol is to either directly remove it from your data source, or through the DataGridControl.DataRows collection.
For example:
this.grid.DataRows.Remove(r);//where grid is a GridControl and r is a datarow
Imported from legacy forums. Posted by Mohamed [Xceed] (had 1023 views)