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. Image for the cookie policy date

Dataset and GridDataBoundGrid

Hi I connect one Dataset with ADO .NET to GridDataBoundGrid. When i make changes in the grid, i make the changes in my Dataset. How can this? Thank you!!!

4 Replies

AD Administrator Syncfusion Team November 30, 2004 11:29 AM

To move changes from the local (disconnected) ADO.NET dataset, to the database, you normally call your dataAdapter.Update method.


LF Liliana Faerman November 30, 2004 01:01 PM

>To move changes from the local (disconnected) ADO.NET dataset, to the database, you normally call your dataAdapter.Update method.


AD Administrator Syncfusion Team November 30, 2004 01:08 PM

I may have misunderstood your question. The grid should undate the Dataset (not the database) when you move off an row that has been editied. If you want the DateSet updated everytime you leave an edited cell (whether or not you leave the row), you can handle the CurrentCellAcceptedChanges event. In your handler, call grid.Binder.EndEdit().


LF Liliana Faerman November 30, 2004 04:20 PM

Thanks Clay. Regards!!!

Loader.
Live Chat Icon For mobile
Up arrow icon