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.

How to save databound datagrid data into sql database

Thread ID:

Created:

Updated:

Platform:

Replies:

116415 May 21,2014 12:15 AM May 22,2014 03:38 AM Windows Forms 1
loading
Tags: GridDataBoundGrid(Classic)
Venkaiah
Asked On May 21, 2014 12:15 AM

i am trying to save data bound data grid data into sq l database in Sync fusion , please tell me any easy way to do this task 




thank in Advance 

Solai A L [Syncfusion]
Replied On May 22, 2014 03:38 AM

Hi Venkaiah,

Thank you for your interest in Syncfusion products.

To save the modified data from grid to sql you can use “adapter.Update(dataset)”. You can use this inside the CurrentCellAcceptedChanges().This event Occurs when the grid accepts changes made to the active current cell. Kindly refer the below provided code snippet for further reference.
 
Code Snippet: 
this.sqlDataAdapter1.Update(this.dataSet11);
 
Please let us know if you have any other concerns.
 
Thanks & Regards,
AL.Solai.

 


CONFIRMATION

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.

;