06-12-2018 09:42 PM - edited 06-12-2018 09:43 PM
1. Retrieve a serialized array from database, and deserialize it into a list.
2. Edit/Add data
3. Reserialize and send it all back.
What are the steps needed to do this? If this is possible at all.
I am able to retrieve the data, and also reserialize it. I am just not able to edit or add data.
06-13-2018 06:27 AM
Could you give more information? You need to know how to add/edit or you are getting an error?
If you are asking how, on the event that triggers the save back to the database you would use the foreach condition. For each item that has been added or changed, serailze it to a container like a hidden text field. For each item that has been deleted, don't serialize it. Once all of your objects have been searilized, save the created collection stored in your container back to the database.