|
-
xml data binding and updates
Hi,
I'm wondering could someone point me in the right direction. I am not sure
if what I am doing is the best way.
Heres the scenario, I have xml data that is displayed using hierarchical
tables (3 levels) in IE5. This works perfectly. I know want to allow the
user to edit the data and save it back to the database. I am struggling with
the concept of tracking the changes that are made.
1) I am considering having an extra element called "changed" at each level
which I set when the user changes a value of that "record" in the table.
The problem with this is that when a value is changed there is no obvious
way of changing another element on the same row. (Seems to work Ok at top
level but on the nested levels I cannot seem to access the underlying row
in the recordset that has changed) I can find the field changed using cellchanged
event
2) Should I just send the entire xml to the server and determins what has
changed?
Am I approaching this in the correct manner?? Are there any other ways I
could try this? I assume what I am doing here is common?
Thanks
Sean
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks