private void ShowMySquiz() { string mySnum = Request.Cookies[LearnSite.Common.CookieHelp.stuCookieNname].Values["Snum"].ToString(); LearnSite.BLL.Students bll = new LearnSite.BLL.Students(); LabelSquiz.Text = bll.MySquiz(mySnum); LearnSite.BLL.Result rbll = new LearnSite.BLL.Result(); GVmyScore.DataSource = rbll.GetListScore(mySnum); GVmyScore.DataBind(); }
private void ShowMySquiz() { string mySnum = cook.Snum; LearnSite.BLL.Students bll = new LearnSite.BLL.Students(); LabelSquiz.Text = bll.MySquiz(mySnum); LearnSite.BLL.Result rbll = new LearnSite.BLL.Result(); GVmyScore.DataSource = rbll.GetListScore(mySnum); GVmyScore.DataBind(); }
private void ShowMySquiz() { string mySnum = Request.Cookies["StudentCookies"].Values["Snum"].ToString(); LearnSite.BLL.Students bll = new LearnSite.BLL.Students(); LabelSquiz.Text = bll.MySquiz(mySnum); LearnSite.BLL.Result rbll = new LearnSite.BLL.Result(); GVmyScore.DataSource = rbll.GetListScore(mySnum); GVmyScore.DataBind(); }