Home › Forums › WinForms controls › Xceed Grid for WinForms › Forcing the datagrid to save edited data › Reply To: Forcing the datagrid to save edited data
Hi,
Yes, all you need to do in your “Save” button is to Call EndEdit on the CurrentCell and then save :
If TypeOf GridControl1.CurrentCell Is Xceed.Grid.DataCell Then
CType(GridControl1.CurrentRow, Xceed.Grid.DataRow).EndEdit()
OleDbDataAdapter1.Update(DataSet11)
DataSet11.AcceptChanges()
Thats it ! 🙂
Imported from legacy forums. Posted by Matt (had 488 views)