void LoadWorkList()
    {
        lstWorks.DataTextField  = "JwcName";
        lstWorks.DataValueField = "JwcID";

        List <ATTJudgeWorkList> workList = BLLJudgeWorkList.GetJudgeWorkList(null);

        Session["WorkList"] = workList;
        lstWorks.DataSource = workList;
        lstWorks.DataBind();
    }
Exemplo n.º 2
0
    void LoadWorkList()
    {
        try
        {
            ddlWorkList.DataTextField  = "JwcName";
            ddlWorkList.DataValueField = "JwcID";


            List <ATTJudgeWorkList> workList = BLLJudgeWorkList.GetJudgeWorkList(null);
            Session["WorkList"] = workList;

            workList.Insert(0, new ATTJudgeWorkList(0, "-- छान्नुहोस --", false, ""));


            ddlWorkList.DataSource = workList;
            ddlWorkList.DataBind();
        }
        catch (Exception ex)
        {
            this.lblStatusMessage.Text = ex.Message.ToString();
            this.programmaticModalPopup.Show();
        }
    }