K
kellygreer1
I'm looking for some examples of:
1) Loading a DataSet with one dataadapter and connection.
2) Reconnecting that DataSet to another dataadapter / new connection
3) Pushing the DataRows back to the database as if they were new rows.
For my application of this... the Tables are identical in design (same
DDL), but are in seperate SQL Servers. As another small issue I am
wondering what the correct way to get the "target table" to accept my
primary key field also.... which in this case is an auto-incrementing
int. Do you issue a SET IDENTITY_INSERT tablename OFF command to the
database?
On a side note any good ADO.NET Tips and Tricks / Hacks books this
group would recommend? Any that would maybe cover my question?
Thanks in advance,
Kelly Greer
(e-mail address removed)
replace nospam with yahoo
1) Loading a DataSet with one dataadapter and connection.
2) Reconnecting that DataSet to another dataadapter / new connection
3) Pushing the DataRows back to the database as if they were new rows.
For my application of this... the Tables are identical in design (same
DDL), but are in seperate SQL Servers. As another small issue I am
wondering what the correct way to get the "target table" to accept my
primary key field also.... which in this case is an auto-incrementing
int. Do you issue a SET IDENTITY_INSERT tablename OFF command to the
database?
On a side note any good ADO.NET Tips and Tricks / Hacks books this
group would recommend? Any that would maybe cover my question?
Thanks in advance,
Kelly Greer
(e-mail address removed)
replace nospam with yahoo