Exemple #1
0
 private void Listmyclass()
 {
     if (Request.Cookies[LearnSite.Common.CookieHelp.teaCookieNname] != null)
     {
         int Rhid = Int32.Parse(Request.Cookies[LearnSite.Common.CookieHelp.teaCookieNname].Values["Hid"].ToString());
         LearnSite.BLL.Room rm = new LearnSite.BLL.Room();
         DLmyclass.DataSource = rm.GetMyClassList(Rhid);
         DLmyclass.DataBind();
     }
 }
Exemple #2
0
 private void Listmyclass()
 {
     if (Request.Cookies[LearnSite.Common.CookieHelp.teaCookieNname] != null)
     {
         int Rhid = tcook.Hid;
         LearnSite.BLL.Room rm = new LearnSite.BLL.Room();
         DLmyclass.DataSource = rm.GetMyClassList(Rhid);
         DLmyclass.DataBind();
     }
 }