How to Pass Datatable in Session C#
First assign datatable into Session.
Session["DT"] = dt;
Response.Redirect("Page2.aspx");
In Page2.aspx page Load function call the thease Code to Get Session Table.
DataTable dtm = (DataTable)Session["DT"];
Comments
Post a Comment
Thank You for your Comment