private void showMy() { LearnSite.Model.Cook cook = new LearnSite.Model.Cook(); LearnSite.BLL.Autonomic abll = new LearnSite.BLL.Autonomic(); RepMy.DataSource = abll.GetMyList(cook.Sid);//Aid,Aurl,Ftitle RepMy.DataBind(); }
private void showMy() { int mySid = Int32.Parse(Request.Cookies[LearnSite.Common.CookieHelp.stuCookieNname].Values["Sid"].ToString()); LearnSite.BLL.Autonomic abll = new LearnSite.BLL.Autonomic(); RepMy.DataSource = abll.GetMyList(mySid);//Aid,Aurl,Ftitle RepMy.DataBind(); }
private void Listgood() { if (Request.QueryString["yid"] != null) { int yid = Int32.Parse(Request.QueryString["yid"].ToString()); LearnSite.BLL.Autonomic abll = new LearnSite.BLL.Autonomic(); RepMy.DataSource = abll.GetListGoodByYid(yid); RepMy.DataBind(); } }