Hi Driss,
Sorry for the confusion caused.
As I have mentioned, the sample attached is for "UseTemplateForm" mode (as you had mentioned Template Form in the first post),
If you are using Default Form mode, it''s very similar to editing the grid in the Normal mode. To save changes to the database, in the "BarButtonItemClicked Event", follow the below procedure.
private void GridGroupingControl1_BarButtonItemClicked(object source, Syncfusion.Web.UI.WebControls.Grid.Grouping.ButtonBarItemClickEventArgs e)
{
//When the user clicks on the save button this gets triggered
if(e.ButtonBarItem.ButtonBarItemType ==ButtonBarItemType.Save)
{
this.GridGroupingControl1.Table.EndEdit();
e.Handled=true;
//To save the changes made to database
this.oleDbDataAdapter1.Update(dataSet11);
}
}
Also In "CurrentRecordContextChange" Event you can update the changes to database.
For More details you can have a look at this
KB-How can I save changes made in the Grid into the database
Let us know if you have furthur questions
Thanks,
A.Sivakumar