Beispiel #1
0
    private void ShowGauge(string Wid)
    {
        ShowFeedback(Int32.Parse(Wid));
        LearnSite.BLL.GaugeItem gbll = new LearnSite.BLL.GaugeItem();
        string myMgid = LabelMgid.Text;

        if (string.IsNullOrEmpty(myMgid) || myMgid == "0")
        {
            //当活动中未指定互评评价标准时,自动选取相应作品类型中的第一条评价标准
            DataListGauge.DataSource = gbll.GetListAutoGtype(LabelWtype.Text);
            DataListGauge.DataBind();
        }
        else
        {
            DataListGauge.DataSource = gbll.GetListMgid(LabelMgid.Text);
            DataListGauge.DataBind();
        }
    }
Beispiel #2
0
 private void ShowGauge(int Wmid)
 {
     LearnSite.BLL.GaugeItem gbll = new LearnSite.BLL.GaugeItem();
     DataListGauge.DataSource = gbll.GetListMitems(Wmid);
     DataListGauge.DataBind();
 }