Ejemplo n.º 1
0
    private void ShowOnline()
    {
        DateTime today  = DateTime.Now;
        int      Qyear  = today.Year;
        int      Qmonth = today.Month;
        int      Qday   = today.Day;

        LearnSite.BLL.Signin sg = new LearnSite.BLL.Signin();
        DataListonline.DataSource = sg.OnlineToday(cook.Sgrade, cook.Sclass, Qyear, Qmonth, Qday);
        DataListonline.DataBind();
    }
Ejemplo n.º 2
0
    private void ShowOnline()
    {
        DateTime today  = DateTime.Now;
        int      Qyear  = today.Year;
        int      Qmonth = today.Month;
        int      Qday   = today.Day;
        int      Qgrade = Int32.Parse(Request.Cookies[LearnSite.Common.CookieHelp.stuCookieNname].Values["Sgrade"].ToString());
        int      Qclass = Int32.Parse(Request.Cookies[LearnSite.Common.CookieHelp.stuCookieNname].Values["Sclass"].ToString());

        LearnSite.BLL.Signin sg = new LearnSite.BLL.Signin();
        DataListonline.DataSource = sg.OnlineToday(Qgrade, Qclass, Qyear, Qmonth, Qday);
        DataListonline.DataBind();
    }