public void MyBind()
        {
            DataTable dt = visitBll.SelByBrowser();

            CountRPT.DataSource = dt;
            CountRPT.DataBind();
            dt             = visitBll.SelectAll();
            EGV.DataSource = dt;
            EGV.DataBind();
        }
예제 #2
0
        public void MyBind()
        {
            SumCount_L.Text = visitBll.CountByYear(CDate.Year).Rows[0]["Num"].ToString();
            DataTable dt = visitBll.SelByTime(2, CDate);

            CountRPT.DataSource = dt;
            CountRPT.DataBind();
            dt             = visitBll.SelectAll(CDate.Year);
            EGV.DataSource = dt;
            EGV.DataBind();
        }
예제 #3
0
        public void MyBind()
        {
            CDate_L.Text    = CDate.Year + "年" + CDate.Month.ToString("00") + "月";
            SumCount_L.Text = visitBll.CountByMonth(CDate.Year, CDate.Month).Rows[0]["Num"].ToString();
            DataTable dt = visitBll.SelByTime(3, DateTime.Now);

            CountRPT.DataSource = dt;
            CountRPT.DataBind();
            dt             = visitBll.SelectAll(CDate.Year, CDate.Month);
            EGV.DataSource = dt;
            EGV.DataBind();
        }