I have this is my first page FirstPage.aspx
protected void GridName_SelectedIndexChanged(object sender, GridViewSelectEventArgs e)
{
String Url = String.Empty;
int index = e.NewSelectedIndex;
String Name = String.Empty
Name = GridName.DataKeys[index].Values["Name"].ToString()
Url = "RetrieveAddress.aspx?Name= " + Name.ToString();
Response.Redirect(Url, false);
Context.ApplicationInstance.CompleteRequest();
}
Now, using the Name parameter from the FirstPage.aspx, How to retrieve the address for the corresponsing name in FirstPage.aspx?
In simple words, I need to retrieve the address for the Name (parameter sent from first page) in my second page RetrieveAddress.aspx.
What should be my full code in second page? Please help