Session datatype is "Generic". So we store any type of data in "Session" object.
Ex:
I have stored datatable value in Session and get that value from session.
DataTable dtInput = new DataTable();
Session["Data"] = dtInput;
DataTable dtOutput = (DataTable)Session["Data"];
Thanks,
T.Saravanan
Packs, if this helps please login to Mark As Answer. |
Reply | Alert Moderator