Tuesday, March 22, 2022

Use Session FOR List

 Keep list of data in session::

 var Center_List = string.Format("CenterList_{0}", (int)LoggedInOrganizationID);

                var centerList = new List<DBCenterDetailModel>();

                if (Session[Center_List] != null)

                    centerList = Session[Center_List] as List<DBCenterDetailModel>;

                else

                {

                    centerList = centerService.GetCenterDetail(LoggedInOrganizationID).ToList();

                    Session[Center_List] = centerList;

                }


Screen Record

 Windows Screen Record WindowsKey+ Alt + R Recording Starts.