J
Jason Allred
This is my first post, so if this has been addressed before, please excuse
my ignorance...
I'm writing a Window's Service in VB.NET to take information from flat files
that contain GPS information and subsequently save them to a SQL Server
(2000) database. I have created classes / collections that do all the work
of retrieving the information from the flat files. That seems to have been
the easy part. Now in trying to get them into the DB, (just one table), I
find that creating several thousand insert statements is very unwieldy, and
results in records getting dropped. I've looked at creating a dataset, but
haven't found any examples online that I could twist to my purposes yet.
The main problem I seem to be having is first getting the information from
the objects into a dataset, and then subsequently into the database. Does
anyone have any advice.
Regards,
Jason.
my ignorance...
I'm writing a Window's Service in VB.NET to take information from flat files
that contain GPS information and subsequently save them to a SQL Server
(2000) database. I have created classes / collections that do all the work
of retrieving the information from the flat files. That seems to have been
the easy part. Now in trying to get them into the DB, (just one table), I
find that creating several thousand insert statements is very unwieldy, and
results in records getting dropped. I've looked at creating a dataset, but
haven't found any examples online that I could twist to my purposes yet.
The main problem I seem to be having is first getting the information from
the objects into a dataset, and then subsequently into the database. Does
anyone have any advice.
Regards,
Jason.