i didn't found any error in your code.May be this problem occur from any other code so check properly..below code i used dataview which has datatable from session datatble and session datatble retrieve from database...
protected void status(object sender, GridViewPageEventArgs e)
{
GridView gd = (sender as GridView);
dv = new DataView();
gd.PageIndex = e.NewPageIndex;
DataTable dt_sd = new DataTable();
dt_sd =(DataTable)Session["details"];
dv = dt_sd.DefaultView;
gd.DataSource = dv.ToTable();
gd.DataBind();
}