Ref:
In the second page
protected void Page_Load(object sender, EventArgs e)
{
if (this.Page.PreviousPage != null)
{
int rowIndex = int.Parse(Request.QueryString["RowIndex"]);
GridView GridView1 = (GridView)this.Page.PreviousPage.FindControl("GridView1");
GridViewRow row = GridView1.Rows[rowIndex];
string name = (row.FindControl("lblName") as Label).Text;
}
}
Now you get the name of the row. So get the details according to name
Thank You.