Beispiel #1
0
    private void getoldCids()
    {
        int    Cterm  = cook.ThisTerm;
        int    Cgrade = cook.Sgrade;
        string mySnum = cook.Snum;

        LearnSite.BLL.SurveyFeedback fbll = new LearnSite.BLL.SurveyFeedback();
        string fcids = fbll.ShowStuFeedbackCids(mySnum, Cterm, Cgrade);

        LearnSite.BLL.Works wbll = new LearnSite.BLL.Works();
        string wcids             = wbll.ShowStuDoneWorkCids(mySnum, Cterm, Cgrade);

        LearnSite.BLL.TopicReply tbll = new LearnSite.BLL.TopicReply();
        string tcids = tbll.ShowStuDoneReplyCids(mySnum, Cterm, Cgrade);

        LearnSite.BLL.TxtFormBack mbll = new LearnSite.BLL.TxtFormBack();
        string mcids   = mbll.ShowStuDoneBackCids(mySnum, Cterm, Cgrade);
        string allcids = "";

        if (wcids != "")
        {
            allcids = allcids + wcids;
        }
        if (fcids != "")
        {
            allcids = allcids + fcids;
        }
        if (tcids != "")
        {
            allcids = allcids + tcids;
        }
        if (mcids != "")
        {
            allcids = allcids + mcids;
        }
        LabelCids.Text = LearnSite.Common.WordProcess.SimpleWordsNew(allcids);
    }
Beispiel #2
0
    private void getoldCids()
    {
        int    Cterm  = Int32.Parse(LearnSite.Common.XmlHelp.GetTerm());
        int    Cgrade = Int32.Parse(Request.Cookies[LearnSite.Common.CookieHelp.stuCookieNname].Values["Sgrade"].ToString());
        string mySnum = Request.Cookies[LearnSite.Common.CookieHelp.stuCookieNname].Values["Snum"].ToString();

        LearnSite.BLL.SurveyFeedback fbll = new LearnSite.BLL.SurveyFeedback();
        string fcids = fbll.ShowStuFeedbackCids(mySnum, Cterm, Cgrade);

        LearnSite.BLL.Works wbll = new LearnSite.BLL.Works();
        string wcids             = wbll.ShowStuDoneWorkCids(mySnum, Cterm, Cgrade);

        LearnSite.BLL.TopicReply tbll = new LearnSite.BLL.TopicReply();
        string tcids = tbll.ShowStuDoneReplyCids(mySnum, Cterm, Cgrade);

        LearnSite.BLL.TxtFormBack mbll = new LearnSite.BLL.TxtFormBack();
        string mcids   = mbll.ShowStuDoneBackCids(mySnum, Cterm, Cgrade);
        string allcids = "";

        if (wcids != "")
        {
            allcids = allcids + wcids;
        }
        if (fcids != "")
        {
            allcids = allcids + fcids;
        }
        if (tcids != "")
        {
            allcids = allcids + tcids;
        }
        if (mcids != "")
        {
            allcids = allcids + mcids;
        }
        LabelCids.Text = LearnSite.Common.WordProcess.SimpleWordsNew(allcids);
    }