J
jm
I am using the generated SQL from VS using the DAL. After my INSERT it
has the select...scope_identity().
Is there any way to get the value of my new id field from this select
after the insert?
I thought it might be using the iteminserted even or the iteminserting
event, but I can't figure it out.
Do I have to write a custom insert and use the BLL and return a scalar?
If so where do I get that scalar from (what event is it wrapped in)?
Thank you for any help.
has the select...scope_identity().
Is there any way to get the value of my new id field from this select
after the insert?
I thought it might be using the iteminserted even or the iteminserting
event, but I can't figure it out.
Do I have to write a custom insert and use the BLL and return a scalar?
If so where do I get that scalar from (what event is it wrapped in)?
Thank you for any help.