B
Brooke
I am helping develop a SQL Server 2005 application with a C# front-end.
Originally I was using untyped datasets and stored procedures and it worked
fine. Now I have been told to used typed datasets and table adapters. How
do I get the identity for new rerecords? Is it a good idea to use typed
datasets on a database with about 25 tables?
The issue is that I have multiple datagrids that are dependant on each other
and are linked with foreign keys. When I save the records I start with the
highest level form and work my way down on the inserts. The identity is not
generated until the records is written to the db, but I need the identity
for the following child tables.
Thanks
Originally I was using untyped datasets and stored procedures and it worked
fine. Now I have been told to used typed datasets and table adapters. How
do I get the identity for new rerecords? Is it a good idea to use typed
datasets on a database with about 25 tables?
The issue is that I have multiple datagrids that are dependant on each other
and are linked with foreign keys. When I save the records I start with the
highest level form and work my way down on the inserts. The identity is not
generated until the records is written to the db, but I need the identity
for the following child tables.
Thanks