예제 #1
0
        public void FillStatsPivotGrid()
        {
            string    fromdate = dtPick.FromDate;
            string    todate   = dtPick.ToDate;
            DataTable dt       = new DataTable();

            dt = VSWebBL.DashboardBL.SametimeHealthBL.Ins.GetSametimeSummaryStats(fromdate, todate, "");
            SametimeStatsPivotGrid.DataSource = dt;
            SametimeStatsPivotGrid.DataBind();
        }
예제 #2
0
        public void ReloadGrid()
        {
            string date;
            string sname = "";

            exactmatch = false;
            if (startDate.Value.ToString() == "")
            {
                date = DateTime.Now.ToString();
            }
            else
            {
                date = startDate.Value.ToString();
            }
            DateTime  dtval = Convert.ToDateTime(date);
            DataTable dt    = new DataTable();

            dt = VSWebBL.DashboardBL.SametimeHealthBL.Ins.GetSametimeStats(sname, dtval.Month, dtval.Year, exactmatch);
            SametimeStatsPivotGrid.DataSource = dt;
            SametimeStatsPivotGrid.DataBind();
        }