If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > Update - XML+ ADO Recordset

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-02-04, 13:46
aluduena aluduena is offline
Registered User
 
Join Date: Feb 2004
Posts: 3
Update - XML+ ADO Recordset

Hi!.
I am working with a recordset (ADO) and a file XML.
I have records in the xml.
I open the file from the recordset, and then I want to update a record in the file. Is there any way that I can do it with a method?. I mean, I don't want to go updating record by record, if there is any way, it would be better.
Any ideas?

Thanks,


Anahi
Reply With Quote
  #2 (permalink)  
Old 02-21-04, 12:40
rami.haddad rami.haddad is offline
Registered User
 
Join Date: Jan 2004
Posts: 184
Re: Update - XML+ ADO Recordset

Yes using UpdateBatch method

Try this control featured on download.com that I have been using that has made my life easier:

http://www.geocities.com/scirocco_ha/DataControl.htm

I bind my controls and that is it All the complexities of ADO are hidden from the user which is you. It does all the updates for you.

You can Navigate, Add New, Delete, Refresh, Search and Save Changes to my recordsets without any other code. That is really it, no other code is needed.

This works in any environment VB, Access, VC++ etc...

Let me know what you think.

Quote:
Originally posted by aluduena
Hi!.
I am working with a recordset (ADO) and a file XML.
I have records in the xml.
I open the file from the recordset, and then I want to update a record in the file. Is there any way that I can do it with a method?. I mean, I don't want to go updating record by record, if there is any way, it would be better.
Any ideas?

Thanks,


Anahi
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On