M
mfleet1973
Hi.
I'm sure that this topic has been covered before but I just can't find
it so here goes.
I'm using VB.Net & SQL Server 2000.
I have a table with an Identity field of type int. I need to know the
value of the id field upon inserting the record. When I add the new
row should I update the data adapter right away? After updating the
data adapter, should I refill the dataset to get the real value of the
identity field? Is there a better way of getting the new value of the
id field? Since this is a multi-user application, it is crutial that I
get this info.
Thanks a lot.
Mike.
I'm sure that this topic has been covered before but I just can't find
it so here goes.
I'm using VB.Net & SQL Server 2000.
I have a table with an Identity field of type int. I need to know the
value of the id field upon inserting the record. When I add the new
row should I update the data adapter right away? After updating the
data adapter, should I refill the dataset to get the real value of the
identity field? Is there a better way of getting the new value of the
id field? Since this is a multi-user application, it is crutial that I
get this info.
Thanks a lot.
Mike.