troubleshooting Question

asp.net pass a parameter from a VB form to the next web form

Avatar of grwallace
grwallace asked on
.NET ProgrammingASP.NETVisual Basic.NET
3 Comments1 Solution814 ViewsLast Modified:
I have a gridview on my first web form. and in the asscociated VB form I am extracting a value when the Select option is clicked as follows:-

 Private Sub GridView1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles GridView1.SelectedIndexChanged

        Try
            StockPotrnId = GridView1.SelectedRow.Cells(2).Text
        Catch ex As Exception

        End Try

        Response.Redirect("frmstockorderdetail.aspx")
    End Sub

The redirect works fine and loads the next page, but I need to pass the value of StockPotrn above to a DetailsView control on the next page.

Any ideas how to do this?
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros