How to modify an INSERT command within Visual Studio
Posted on 2010-08-31
I would like to retrieve an auto-Increment PK while while inserting a new record. I have tried manipulating the standard tabladapter.insert() command, I have tried adding a new stored procedure as well as a new insert command.. I just learned the Identity_Scope () is used for this purpose..
However, I do not know where to place this bit within existing commands or how to create a new command that incorporates this...
i will not ask any extra questions within this, but I am no expert at this and am learning by doing.