RE: how to insert record in a dataSet into another database table

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Your questiona bit confused me, but based on my understanding, you have
retrieved data into dataset from X database and now want to save the same in
Y database.

This is possible if you have right dataAdaptors for each database(X & Y)
eg.
dataAdaptor1 = new ("Select col1 , col2 from TableXDatabase1")
dataAdaptor2 = new ("Select col1 , col2 from TableYDatabase2")

dataAdaptor1.Fill(ds)
// Make Necessary Changes and
dataAdaptor2.Update(ds)

Regards
JIGNESH

"Toyin" wrote:

hi, pls can someone help me out. its very urgent i get the solution today. i
have a webservice that i use to retrieve new record from a database, also
there is a client application (window form) that calls this service which
returns the record in a dataset. now i need to insert the record in this
dataset into another database table on a different server.how do i do these.i
've tried so many things and also implement a suggestion on a thread about
inserting from one db into another but its not working. am using MySql5.1
community edition,IIS 5.o and Visual studio.Net2003 to develop and test. pls
someone help me. i need a simple code to do this.
.



Relevant Pages

  • Re: query on recordset in visual basic
    ... being used to access the database and retrieve the data, ... providing the functionality to work with the retrieved data. ... Please reply to the newsgroup. ...
    (microsoft.public.data.ado)
  • Re: query on recordset in visual basic
    ... ADODB is the class library ... being used to access the database and retrieve the data, ... providing the functionality to work with the retrieved data. ...
    (microsoft.public.data.ado)
  • RE: SQL server server minimum spec to be considered robust
    ... the access to the database designed. ... of the retrieved data in the app layer and most of the user queries can be ... One side says 4 cpus and the other says 8 cpus I think it is 8 as this ... Network resp = 160 ...
    (microsoft.public.sqlserver.server)
  • Dictionary & data
    ... I have retrieved data from a database and I want to place this data into a ... dictionary or something like a HashMap (in Java). ...
    (comp.lang.python)
  • POS/ COGNOS/ CAREER POSITION/ OH
    ... repositories needed to support the Company's business objectives. ... *Proficient in Microsoft technologies, including MS Access, MS Office Suite. ... *Experience and understanding of application servers. ... *Experience and understanding of database servers. ...
    (comp.sys.ibm.as400.misc)