Posted on: 10/7/2014 8:57:10 PM | Views : 390

I have an application that has 2 web forms.  On Form1 the user enters 3 fields.  Next a button is clicked on Form1 that passs the 3 fields entered to a Form 2 by using session variables.  I want to call a stored procedure that selects records based on the 3 fields passed from Form1 and loads the fields into a DetailsView also in Form2.  My questions are:
1. Shouldn't the stored procedure be placed in the Form2 Page Load section?
2. Can someone please provide me with a good example of calling a stored procedure that loads fields in a DetailsView when executed? The examples I have found are overly complicated and hard to follow.
All comments back appreciated!

Go to the complete details ...