Exemplo n.º 1
0
 private void showNotSign()
 {
     if (LearnSite.Common.CookieHelp.IsStudentLogin())
     {
         string mynum = cook.Snum;
         LearnSite.BLL.NotSign nbll = new LearnSite.BLL.NotSign();
         GVNoSign.DataSource = nbll.NotSignSnumdetail(mynum);
         GVNoSign.DataBind();
     }
 }
Exemplo n.º 2
0
 private void showNotSign()
 {
     if (LearnSite.Common.CookieHelp.IsStudentLogin())
     {
         string mynum = Request.Cookies[LearnSite.Common.CookieHelp.stuCookieNname].Values["Snum"].ToString();
         LearnSite.BLL.NotSign nbll = new LearnSite.BLL.NotSign();
         GVNoSign.DataSource = nbll.NotSignSnumdetail(mynum);
         GVNoSign.DataBind();
     }
 }
Exemplo n.º 3
0
 private void ShowNoSign()
 {
     if (Request.QueryString["Sgrade"] != null)
     {
         int Sgrade = Int32.Parse(Request.QueryString["Sgrade"].ToString());
         int Sclass = Int32.Parse(Request.QueryString["Sclass"].ToString());
         int Qyear  = Int32.Parse(Request.QueryString["Qyear"].ToString());
         int Qmonth = Int32.Parse(Request.QueryString["Qmonth"].ToString());
         int Qday   = Int32.Parse(Request.QueryString["Qday"].ToString());
         LearnSite.BLL.Signin sign = new LearnSite.BLL.Signin();
         GVNoSign.DataSource = sign.NoSignclassdetail(Sgrade, Sclass, Qyear, Qmonth, Qday);
         GVNoSign.DataBind();
         Labelnosign.Text = "[" + GVNoSign.Rows.Count.ToString() + "位]";
     }
 }