G
Guest
Hello,
Let say myTable has two fields: ID and Name. ID is an identity field and
increased sequentially by 1 each time a record is entered into table.
dr["Name"]=â€MayNameâ€;
dataSet11.Tables[myTable].Rows.Add(dr);
sqlDataAdapter1.Update(dataSet11, myTable);
Now after update, I need to find what the ID value is for the record I just
added. This is a multi-user environment. How should I fetch it?
Thanks,
Let say myTable has two fields: ID and Name. ID is an identity field and
increased sequentially by 1 each time a record is entered into table.
dr["Name"]=â€MayNameâ€;
dataSet11.Tables[myTable].Rows.Add(dr);
sqlDataAdapter1.Update(dataSet11, myTable);
Now after update, I need to find what the ID value is for the record I just
added. This is a multi-user environment. How should I fetch it?
Thanks,