/// <summary>
        /// Listeaza training-urile unui angajat
        /// </summary>
        private void LoadFormIstoricTraining()
        {
            try
            {
                settings = Salaries.Configuration.ModuleConfig.GetSettings();
                UtilitiesDb utilDb = new UtilitiesDb(settings.ConnectionString);
                utilDb.CreateInternalTrainingSelectBox(this.lstTraining);
                if (this.lstTraining.Items.Count == 0)
                {
                    this.tipTraining.Items.RemoveAt(0);
                }
                utilDb.CreateExternalTrainingSelectBox(this.lstTraining2);
                if (this.lstTraining2.Items.Count == 0)
                {
                    this.tipTraining.Items.RemoveAt(1);
                }

                listTable.Rows.Clear();
                listTable2.Rows.Clear();

                listTable.Attributes.Add("width", "100%");
                listTable.Style.Add("border", "1px solid #20b2aa");
                listTable.Attributes.Add("cellpadding", "0");
                listTable.Attributes.Add("cellspacing", "1");

                listTable2.Attributes.Add("width", "100%");
                listTable2.Style.Add("border", "1px solid #20b2aa");
                listTable2.Attributes.Add("cellpadding", "0");
                listTable2.Attributes.Add("cellspacing", "1");


                Salaries.Business.IstoricTraining istTraining = new Salaries.Business.IstoricTraining();
                istTraining.AngajatId = AngajatID;

                string[] arHeader = { "Tip Training", "Descriere", "Diploma", "Data start", "Data end" };
                string[] arCols   = { "Nume", "Descriere", "Diploma", "DataStart", "DataEnd" };

                ListTable objListTable  = new ListTable(listTable, istTraining.LoadIstoricTraining(true), arHeader, arCols);
                ListTable objListTable2 = new ListTable(listTable2, istTraining.LoadIstoricTraining(false), arHeader, arCols);

                objListTable.textForEmptyDataSet  = "Nu exista nici un training intern asociat acestui angajat!";
                objListTable2.textForEmptyDataSet = "Nu exista nici un training extern  asociat acestui angajat!";

                string[] ar_OnClickParam     = { "IstoricTrainingID", "Intern", "TrainingID", "DataStart", "DataEnd", AngajatID.ToString() };
                string[] ar_OnClickParamType = { "dataset", "dataset", "dataset", "dataset", "dataset", "const" };

                objListTable.OnclickParams     = ar_OnClickParam;
                objListTable.OnclickParamsType = ar_OnClickParamType;
                objListTable.OnclickJSMethod   = "SelectTraining";

                objListTable2.OnclickParams     = ar_OnClickParam;
                objListTable2.OnclickParamsType = ar_OnClickParamType;
                objListTable2.OnclickJSMethod   = "SelectTraining";


                objListTable.DrawListTableWithoutDigits();
                objListTable2.DrawListTableWithoutDigits();
            }
            catch (Exception ex)
            {
                litError.Text  = "The following error occurred: <br>";
                litError.Text += ex.Message;
            }
        }