Skip to main content

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.

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.


Ah yep,   what was undoing me is that I forgot to call the action 'Apply changes to row' before moving to a new row.


Reply