开发者

Return SCOPE IDENTITY

开发者 https://www.devze.com 2023-01-06 13:18 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消