How to retrieve Scope_Identity parameter in ItemInserted Event
I wish to use a FormView to insert a record but then stay on the same page but change to edit mode. I understand I have a stored proc to do the insert that that has a select Scope_Identity() statement at the end. I also understand that I need to use the ItemInserted event to retrieve the Identity value.
I need the c# code to retrieve the parameters value from my sql data source.