Welcome to the WinForms feedback portal. We’re happy you’re here! If you have feedback on how to improve the WinForms, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
I want to save GCC data to database after inputting a new record ( datasource using EF entity local.toBindList).
So I register the SourceListRecordChanged handler and call dbContext.SaveChanges();
but this does not work , it seem to that the dbcontxt.entity.local has not changed yet.
at this time, if i call dbContext.SaveChanges() in a button pushed event.
it will save the new record to database successfuly.
which hander (what timing) shoud i called to save the new record to database by just call the one function (dbContext.SaveChanges() )
The codes as follow:
initialize function
this.gridGroupingControl.SourceListRecordChanged += new RecordChangedEventHandler(GridTableSourceListChanged);