Hi,
Try this:
In 1st page:
DataTable dt =new DataTable();
dt.Columns.Add("Id");
dt.Columns.Add("Name");
foreach (GridViewRow grRow in GridView1.Rows)
{
CheckBox chk = (CheckBox)grRow.FindControl("checkboxId");
if (chk.Checked)
{
Label ID = (Label)grRow.FindControl("LabelForID");
Label Name = (Label)grRow.FindControl("LabelForName");
dt.Rows.Add(ID.Text, Name.Text);
}
}
Session["SelRows"] = dt;
In 2nd page:
DataTable dt =new DataTable();
dt = Session["SelRows"] as DataTable;
if(dt != null)
{
grid2.DataSource = dt;
grid2.DataBind();
}
All the best.
--Amit