Hi,
I am using session to pass a value to another page. when i check on the page 1 the sessions values are different according to the input i pass to them.
where as in the page 2 it takes only the value which i passed first...
example:
Page 1:
Session["Hello"] = ParentId;
child.NavigateUrl = "test.aspx?" + Session["Hello"];
when i check the session in page they have values as D001,D002,D003,D004 etc in a loop. its working here.
Page 2:
When i get the session value it displays D004 only.
Page 1 :
Session["Hello"] = ParentId;
child.NavigateUrl = "test.aspx?" + Session["Hello"];
Page 2 :
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
grddata();
}
}
public void grddata()
...
Go to the complete details ...