K
Kev
Hi,
I have a database that needs a whole bunch of records
added. The data comes from an XML file. I have grabbed
the nodes in question, looped through them and I now want
to populate SQL.
Obviously I can pass each nodes data to a stored proc
which will add to the table but this means lots of
network traffic and I am sure it is not as efficient as
dumping the data into SQL in one go.
So, my question is, how do I create a client side
recordset, populate the data into it, and then update the
server, using ADO.Net via VB.Net. This would be more
efficient, right?
This is probably pretty basic but if someone could show
me a sample that dumps several records into a table (just
make one up - I'll be able to follow) it would really
help clarify a few things.
Thanks to all in advance...
I have a database that needs a whole bunch of records
added. The data comes from an XML file. I have grabbed
the nodes in question, looped through them and I now want
to populate SQL.
Obviously I can pass each nodes data to a stored proc
which will add to the table but this means lots of
network traffic and I am sure it is not as efficient as
dumping the data into SQL in one go.
So, my question is, how do I create a client side
recordset, populate the data into it, and then update the
server, using ADO.Net via VB.Net. This would be more
efficient, right?
This is probably pretty basic but if someone could show
me a sample that dumps several records into a table (just
make one up - I'll be able to follow) it would really
help clarify a few things.
Thanks to all in advance...