Hi,
I have a Web app using VS.Net 2003, ASP and VB. I am using RDO with a SQL
Server 2000 database. The code below shows an example of a NewRow method.
In the first column there is a integer field that is set as the primary key
and with Identity (1,1)
rRow1 = iDataSetA.Tables("tCurSessions").NewRow()
rRow1("sesSessionCnt") = 0
rRow1("sesSessionStart") = Now()
rRow1("sesSessionStop") = Now()
rRow1("sesSessionSecs") = 0
rRow1("sesUserUnq") = 0
rRow1("sesUserTyp") = 0
rRow1("sesUserIDX") = 0
rRow1("sesUserZipUnq") = 0
iDataSetA.Tables("tCurSessions").Rows.Add(rRow1)
iAdapCurSess.Update(iDataSetA, "tCurSessions")
After this Adaptor Update to the server is there a way that I can easily get
the value of that primary key of that record that I just added.
thanks,
hugh