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 and retrieve the Spreadsheet data as JSON in database

This knowledge base explains the way to save and retrieve the Spreadsheet data as JSON in Database. You can use “loadFromJSON()” and “saveAsJSON()client side methods to achieve this requirement.

 

JavaScript Solution

 

[JS]

 

 

 [Web API]

 

 

 

MVC Solution

 

[CSHTML]

 

 

[Controller]

 

 

 

ASP Solution

 

[ASPX]

 

 

[C#]

 

 

Also please refer the below UG Documentation link,

 

https://help.syncfusion.com/api/js/ejspreadsheet#methods:saveasjson

https://help.syncfusion.com/api/js/ejspreadsheet#methods:loadfromjson

Article ID: Published Date: Last Revised Date: Platform: Control:
7675 04/24/2017 04/24/2017 JavaScript ejSpreadSheet
Did you find this information helpful?
Comments
Pradeep Kumar May 19, 2017
Hi,

I have tried both examples 
1) Open and Save Data to SQL Server As Stream
2) Open and Save Data to SQL Server as JSON Data

Both example are running properly.

But i have to Open And Save data from sql as Sql Table Data

I have one tables of Order in SQL and I have to Open this Table Data in Excel And After Changing Contents ,Save this Order Table Back To Server.

Is There any way to do this????

Eg.

OrderIDCustomerIDOrder DescriptionQtyPriceLink
1111Test Item3900--
2222Test Item520400--


Reply
Shanmugaraja K [Syncfusion] May 22, 2017

Hi Pradeep,

 

Please refer the below forum link to achieve your requirement,

 

https://www.syncfusion.com/forums/130584/open-and-save-data-from-sql-table-in-spreadsheet

 

Regards,

Shanmugaraja K

Add Comment
You must log in to leave a comment

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