We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Reflecting changed cell values in the DataSource of GridDataBoundGrid

Thread ID:





47415 Aug 4,2006 01:42 AM Aug 4,2006 02:15 AM Windows Forms 1
Tags: GridControl
Asked On August 4, 2006 01:42 AM

Hi All,

I using a GDBG. I have a quick question, if I change some cell values (change existing value / add new rows), is this change reflected automatically in the bound Datasource?
If not, how do I handle this situation?
A code snippet would be helpful.
Thanks in advance.


Administrator [Syncfusion]
Replied On August 4, 2006 02:15 AM

Hi Suhas,

Please try calling grid.CurrentCell.EndEdit() followed by grid.Binder.EndEdit() before saving the changes to the underlying datasource.


Calling CurrentCell.EndEdit ends ths editing of the current cell and saves for that cell into a local row cache of row changes. Binder.EndEdit ends the editing of the row object and moves the locally cached values into the DataSource.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.