void LoadJudgeList()
    {
        List <ATTJudgeWorkList> lst = new List <ATTJudgeWorkList>();

        lst.Add(new ATTJudgeWorkList(0, "छान्नुहोस्"));
        lst.AddRange(BLLJudgeWorkList.GetCurrentJudgesList(int.Parse(lstOrganization.SelectedValue)));

        //lst = BLLJudgeWorkList.GetCurrentJudgesList(int.Parse(lstOrganization.SelectedValue));
        //grdJudges.DataSource = lst;
        //grdJudges.DataBind();
        ddlJudge.DataSource = lst;
        ddlJudge.DataBind();
    }
Exemplo n.º 2
0
 protected void ddlOrganization_SelectedIndexChanged(object sender, EventArgs e)
 {
     try
     {
         this.chklstJudges.DataSource     = BLLJudgeWorkList.GetCurrentJudgesList(int.Parse(this.ddlOrganization.SelectedValue));
         this.chklstJudges.DataTextField  = "JUDGENAME";
         this.chklstJudges.DataValueField = "JUDGEID";
         this.chklstJudges.DataBind();
     }
     catch (Exception ex)
     {
         this.lblStatusMessage.Text = ex.Message;
         this.programmaticModalPopup.Show();
     }
 }
Exemplo n.º 3
0
 void LoadJudgeList(int orgID)
 {
     try
     {
         List <ATTJudgeWorkList> CurrentJudgesList = BLLJudgeWorkList.GetCurrentJudgesList(orgID);
         CurrentJudgesList.Insert(0, new ATTJudgeWorkList(0, "छान्नुहोस"));
         ddlJudgeList.DataSource     = CurrentJudgesList;
         ddlJudgeList.DataTextField  = "JudgeName";
         ddlJudgeList.DataValueField = "JudgeId";
         ddlJudgeList.DataBind();
     }
     catch (Exception ex)
     {
         this.lblStatusMessage.Text = ex.Message.ToString();
         this.programmaticModalPopup.Show();
     }
 }