views:

68

answers:

1

I'm trying to return the SCOPE Identity of the inserted record in my stored procedure @temp_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

A: 

You need to handle the Inserted event in your code and then acquire the ReturnValue parameter - as in the sample here.

Will A