Return SCOPE IDENTITY
I'm trying to return the SCOPE IDENTITY
of the inserted record in my stored procedure @开发者_如何学Pythontemp_id
, but how can I bind it to a label e.g
<asp:ControlParameter ControlID="ASPxLabel_RequestTemp" Name="temp"
PropertyName="Text" Type="Int32" />
its not working
Thanks
You need to handle the Inserted event in your code and then acquire the ReturnValue parameter - as in the sample here.
精彩评论