示例#1
0
    private void showgroupWork()
    {
        int    aaSid  = cook.Sid;
        string aaWmid = Request.QueryString["Mid"].ToString();;

        LearnSite.BLL.Works wbll = new LearnSite.BLL.Works();
        GVgwork.DataSource = wbll.GetGroupWorks(aaSid, Int32.Parse(aaWmid));
        GVgwork.DataBind();
    }
    private void showgroupWork()
    {
        string aaSid  = Request.Cookies[LearnSite.Common.CookieHelp.stuCookieNname].Values["Sid"].ToString();
        string aaWmid = Request.QueryString["Mid"].ToString();;

        LearnSite.BLL.Works wbll = new LearnSite.BLL.Works();
        GVgwork.DataSource = wbll.GetGroupWorks(Int32.Parse(aaSid), Int32.Parse(aaWmid));
        GVgwork.DataBind();
    }