V
VMI
Assuming I have a datarow (or a datarow collection), would it possible to
create an Access table and dump the datarow(s) into that Access table? I
wouldn't even need to create the fields in the Access table since the
datarow contains the exact table schema. I'm currently taking each datarow
and creating an Insert statement that i then run against Access.
I posted this question earlier and someone suggested "configure an
OleDbDataAdapter with a proper connection and insert command, and then just
invoke Update on the pre-configured data adapter?". Then I asked him what my
Insert statement would look like (since I only have a datarow), but he
hasn't replied yet.
So assuming I have a datatable with all the rowsI need to insert, what would
my next step be?
Thanks.
create an Access table and dump the datarow(s) into that Access table? I
wouldn't even need to create the fields in the Access table since the
datarow contains the exact table schema. I'm currently taking each datarow
and creating an Insert statement that i then run against Access.
I posted this question earlier and someone suggested "configure an
OleDbDataAdapter with a proper connection and insert command, and then just
invoke Update on the pre-configured data adapter?". Then I asked him what my
Insert statement would look like (since I only have a datarow), but he
hasn't replied yet.
So assuming I have a datatable with all the rowsI need to insert, what would
my next step be?
Thanks.