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(); } }
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(); } }
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() + "位]"; } }