Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1470
AddNewRow and underlying Datasource
posted

Hi,

 is there any way to write back a new added row to the datasource (DataTable) before the user leaves the AddNewRow?

That the underlying DataTable gets the event "RowChanged".

 

Regards

  • 469350
    Verified Answer
    Offline posted

     Yes, you can force the row to be comitted to the underlying data source by calling the Update method on the row. You can force an update on the entire grid by calling grid.UpdateData.