Pass DataGrid Select to New Page Form View

F

firstmalone

I have a default.aspx I want to transfer the data to a new page Form
View on select

ASP.NET 2.0 VS.Net 2005 VB.Net

Protected Sub GridView1_SelectedIndexChanged(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
GridView1.SelectedIndexChanged
Me.Server.Transfer("Ref.aspx?Number=" &
Me.GridView1.DataKeys(0).Value.ToString & "&LastName = " &
Me.GridView1.DataKeys(1).Value.ToString & "")
End Sub

Am I doing this correctly?
How do I pulg (request) the values into the FormView?

What would be good resources?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,818
Latest member
Brigette36

Latest Threads

Top