R
Robert Porter
I have created at Dataset from an OleDB connected text file using schema.ini
and so forth, so far no problem, now what I need to do is take the data from
that dataset and update records in another database, (SQL Server) which has
a table that contains the same key as I used in the text file.
I have been able to walk through the first dataset and issue update commands
to the other database one at a time, but I can't help feeling there has to
be an easier way to do this.
I am trying to avoid walking through either the file with file IO commands
or the dataset one row at a time in favor of a batch operation. The data in
the text file will always be used to update records that exist in the target
SQL Server database, never to insert a new row.
Any suggestions? I am writing this as a Winforms app in VB.Net with 1.1
Framework.
Thanks in advance.
Bob Porter
and so forth, so far no problem, now what I need to do is take the data from
that dataset and update records in another database, (SQL Server) which has
a table that contains the same key as I used in the text file.
I have been able to walk through the first dataset and issue update commands
to the other database one at a time, but I can't help feeling there has to
be an easier way to do this.
I am trying to avoid walking through either the file with file IO commands
or the dataset one row at a time in favor of a batch operation. The data in
the text file will always be used to update records that exist in the target
SQL Server database, never to insert a new row.
Any suggestions? I am writing this as a Winforms app in VB.Net with 1.1
Framework.
Thanks in advance.
Bob Porter