I
Iwan Petrow
Hi,
I do this - take some data with sqldataadaptor (at this moment
2000rows) in fill datatable.
For each two rows do some calculations and save data to the database
with insert command.
(the data which I insert are 5 int values for each two rows - so
2000*1999 insert commands)
In this way it is very slow. I think this is because of the invoking so
many times of the insert command (because without insert command it
takes about 10 min, but with it may be it will work 1-2 days (I run the
program in debug mode)).
Do you know other ways to do this (faster)?
(may be with sqldataadaptor).
Thanks.
I do this - take some data with sqldataadaptor (at this moment
2000rows) in fill datatable.
For each two rows do some calculations and save data to the database
with insert command.
(the data which I insert are 5 int values for each two rows - so
2000*1999 insert commands)
In this way it is very slow. I think this is because of the invoking so
many times of the insert command (because without insert command it
takes about 10 min, but with it may be it will work 1-2 days (I run the
program in debug mode)).
Do you know other ways to do this (faster)?
(may be with sqldataadaptor).
Thanks.