How to Store and Retrieve values stored in an Object via Session?
bll_out_300_cntrl OUT_300_CONTROL=new bll_out_300_cntrl();
<pre lang="C#">objOUT_300_CONTROL.SendingInstitutionIdentifier = txtSendingInstitutionIdentifier.Text.Trim();
objOUT_300_CONTROL.CreatedBy = decimal.Parse(Session["USER"].ToString());
objOUT_300_CONTROL.Department = Convert.ToInt32(Session["SELECTED_DEPT"]);</pre>
I want to store and fetch the values stored in object via Session or any other way.
What I have tried:
Created a class and added values to object of the corresponding one.
I am unable to get the values on calling after a button click in modal pop up. Want to store those values & fetch after a button click in modal pop up .
bll_out_300_cntrl OUT_300_CONTROL=new bll_out_300_cntrl();
<pre lang="C#">objOUT_300_CONTROL.SendingInstitutionIdentifier = txtSendingInstitutionIdentifier.Text.Trim();
objOUT_300_CONTROL.CreatedBy = decimal.Parse(Session["USER"].ToString());
objOUT_300_CONTROL.Department = Convert.ToInt32(Session["SELECTED_DEPT"]);</pre>