void LoadLawyerType()
 {
     try
     {
         this.ddlLawyerType.DataSource     = BLLLawyerType.GetLawyerTypeList(null, true);
         this.ddlLawyerType.DataTextField  = "LawyerTypeDescription";
         this.ddlLawyerType.DataValueField = "LawyerTypeID";
         this.ddlLawyerType.DataBind();
     }
     catch (Exception ex)
     {
         this.lblStatus.Text = ex.Message;
     }
 }
 void LoadLawyerType()
 {
     try
     {
         this.ddlType.DataSource     = BLLLawyerType.GetLawyerTypeList(null, true);
         this.ddlType.DataTextField  = "LawyerTypeDescription";
         this.ddlType.DataValueField = "LawyerTypeID";
         this.ddlType.DataBind();
     }
     catch (Exception ex)
     {
         this.lblStatusMessage.Text = ex.Message;
         this.programmaticModalPopup.Show();
     }
 }
예제 #3
0
    void LoadLawyerType()
    {
        try
        {
            List <ATTLawyerType> lst = BLLLawyerType.GetLawyerTypeList(null, true);
            this.ddlLawyerType.DataSource     = lst;
            this.ddlLawyerType.DataTextField  = "LawyerTypeDescription";
            this.ddlLawyerType.DataValueField = "LawyerTypeID";
            this.ddlLawyerType.DataBind();

            this.ddlPLawyerType.DataSource     = lst;
            this.ddlPLawyerType.DataTextField  = "LawyerTypeDescription";
            this.ddlPLawyerType.DataValueField = "LawyerTypeID";
            this.ddlPLawyerType.DataBind();
        }
        catch (Exception ex)
        {
            this.ShowMessage(ex, null);
        }
    }