Beispiel #1
0
        public void FillSharePointTimerJobsGridView()
        {
            DataTable dt = VSWebBL.DashboardBL.SharepointDetailsBL.Ins.GetSharePointTimerJobsDetails();

            Session["SharePointTimerJobsGridView"] = dt;

            SharePointTimerJobsGridView.DataSource = dt;
            SharePointTimerJobsGridView.DataBind();
        }
Beispiel #2
0
        public void FillSharePointTimerJobsGridViewfromSession()
        {
            DataTable SharePointTimerJobs = new DataTable();

            try
            {
                if (Session["SharePointTimerJobsGridView"] != null && Session["SharePointTimerJobsGridView"] != "")
                {
                    SharePointTimerJobs = Session["SharePointTimerJobsGridView"] as DataTable;
                }

                SharePointTimerJobsGridView.DataSource = SharePointTimerJobs;
                SharePointTimerJobsGridView.DataBind();
            }
            catch (Exception ex)
            {
                Log.Entry.Ins.WriteHistoryEntry(DateTime.Now.ToString() + " Exception - " + ex);
                throw ex;
            }
        }