Click here to Skip to main content
11,584,288 members (62,790 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: SQL-Server delete query
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 24-May-12 20:48pm
tanweer14.6K

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 430
1 Sergey Alexandrovich Kryukov 369
2 Dave Kreskowiak 260
3 Richard Deeming 220
4 virusstorm 194
0 OriginalGriff 1,663
1 Sergey Alexandrovich Kryukov 1,229
2 Abhinav S 701
3 Dave Kreskowiak 667
4 Suvendu Shekhar Giri 568


Advertise | Privacy | Mobile
Web04 | 2.8.150603.1 | Last Updated 25 May 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100