Back in Classic ASP, when I would submit a form, I'd add a response.redirect and a parameter value to pass along some value in a query string after a form was submitted I know how to do this in .NET now too, but I want to try and not use response.redirect and instead I want to postback to the same page and hide/view panels on various button clicks. So, my question is, after a user clicks "Insert", I execute a StoredProcedure that inserts data and returns the identity value. Once that Identity value is returned, how do I access it to use in a subsequent panel?
Here's my code behind where I insert a new client... Once I have the ClientID back from the Stored Procdure, I just don't know how to get that value and use it...
Protected Sub InsertNewClient_Inserted( Go to the complete details ...