Click here to Skip to main content
15,891,253 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a scenario where I have to update in multiple tables, that are dependent to each other e.g has relationship, with large data from a web page, where lot of textboxes, checkboxes and dropdownlis are there. I am using jQuery.ajax to save the data. New data save method is written there and it is working. Now it is very difficult to handle large amount of data for update purpose.
I have an idea that I will delete all data and save it as new record.
Is this a good idea or not?
what should I have to do here remembering updating all these records I have to spend a week to write an Update method.
please guide me in this seance.
Posted

1 solution

There are many ways to do with this.
As I suggest you that, if you have an idea on XML.
Better to generate an XML which contains all the data of textbox, checkbox etc. in javascript & pass this xml variable to your business logic to manipulate xml with your SQL query.

Hope you get an idea.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900