The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hello,
I''m having some problems trying to save some formula data into the database.
Example. If i entered in cell 3+2 which is 5 need to be stored in Database, when I retrieve i should get 5 and click on that (Formula Cell) particular cell, i should able to see the formula back.
Please tell me how this can be done.
Thanks
Satish
ADAdministrator Syncfusion Team March 11, 2004 06:50 AM UTC
You cannot have it both ways unless you store two things in your database.
If your database only stores the value 5, how will anyone getting data from the database (including the grid) know that the 5 came from 3 + 2, and did not come from something else like 18 - 13.
So, you will have to come up with some way to store the information you require. Now, you could put both pieces of information into one string, and store that. Or, you could have two fields in your database, one for the value and one for the formula. You will have to decide.
Normally, you use formula cells only in a non-virtual GridControl because using them efficiently in a virtual grid (like GridDataBoundGrid) requires additional work, maintaining some data store of formulatags. So, when you move the data from your DataBase to the GridControl, you would want to load only the formula and not the value, becuase it is the formula that the grid requires.