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.
Syncfusion Feedback

How to save databound datagrid data into sql database

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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 07:38 AM UTC

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.

Warning Icon 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.Close Icon

;