Hi,
I'm writing a vb.net (2003) app that links to an SQL db. On a form I have added a button that allows the user to insert data into a table. Once the item has been added i need to retrieve the new db ID and do an insert onto another table. How do i return the value of the new id so that i can use it on the insert statement?
regards,
Noel.
I'm writing a vb.net (2003) app that links to an SQL db. On a form I have added a button that allows the user to insert data into a table. Once the item has been added i need to retrieve the new db ID and do an insert onto another table. How do i return the value of the new id so that i can use it on the insert statement?
regards,
Noel.