Hi..
I am trying to insert a values into a row in Sql server 's table, for that i have used stored procedure and its working fine.
Now i want to retrieve the unique ID i.e.("Emp_ID" its the primary key which is set to identity,auto increment) of table in which i am inserting values,
My requirement is to get that newly generated id of the row in which value is recently inserted. By searching this in google i got a concept known as "
Output parameter " in stored procedure.
But i didn't get the entire information on this,like how to set this and how to retrieve that value into a textbox in windows application just immediate after inserting the values in table.
So if anyone can help me to get clear with this concept it would be very helpfull for me and if possible try to get any demo or links so that i can refer that.
Thank you.
regards
Nishad