Ejemplo n.º 1
0
    private void SearchGroups()
    {
        List<AssessmentGroup> qGroups = new List<AssessmentGroup>();
        AssessmentGroupList qGroupList = new AssessmentGroupList(CurrentUserID);
        string groupName = Server.HtmlEncode(tbSearchAGroups.Text.Trim());
        qGroups = qGroupList.GetAssessmentGroups(groupName, cbAGroupStatus.Checked);

        lvAssessmentGroups.DataSource = qGroups;
        lvAssessmentGroups.DataBind();
    }
Ejemplo n.º 2
0
 protected void GetAssessmentGroups()
 {
     List<AssessmentGroup> qGroups = new List<AssessmentGroup>();
     AssessmentGroupList qGroupList = new AssessmentGroupList(CurrentUserId);
     qGroups = qGroupList.GetAssessmentGroups("",true);
     ddlAssessGroup.DataSource = qGroups;
     ddlAssessGroup.DataTextField = "Name";
     ddlAssessGroup.DataValueField = "ID";
     ddlAssessGroup.DataBind();
     ddlAssessGroup.Items.Insert(0, new ListItem("-- Select One --", ""));
 }