Home › Forums › WinForms controls › Xceed Grid for WinForms › Forcing the datagrid to save edited data › Reply To: Forcing the datagrid to save edited data
No, that didn’t work. When the system tries to resolve the line
If TypeOf gcPrimary.CurrentCell Is Xceed.Grid.DataCell Then
it comes back as false and therefore doesn’t process the rest of the code. If I bypass that line and try to run the code anyway, I get:
Specified Cast is not valid (InvalidCastException)
from the line
CType(gcPrimary.CurrentRow, Xceed.Grid.DataRow).EndEdit()
Imported from legacy forums. Posted by DimondWoof (had 420 views)