Ejemplo n.º 1
0
        private void GetEducation(string id)
        {
            var message = SysMessage.DefaultSelecting;

            BLL.DataCenterBiz biz = new BLL.DataCenterBiz();
            var ls = biz.GetEducationById(message);
            //BindToDDL(ddlTitleName, ls);

            //**รอข้อมูล Tob 8/3/20556**//
            //string code = ls.FirstOrDefault(w => w.Name == "ไทย").Id;
            //ddlTitleName.SelectedValue = code;
            //**รอข้อมูล Tob 8/3/20556**//
        }
Ejemplo n.º 2
0
        private void GetEducationAfter(string id)
        {
            var biz = new BLL.DataCenterBiz();
            var ls  = biz.GetEducationById(id);

            if (ls != null)
            {
                ListItem listItem = new ListItem();
                listItem.Value = ls.Id;
                listItem.Text  = ls.Name;

                txtEducationAfterReg.Text = listItem.ToString();
            }
            else
            {
                txtEducationAfterReg.Text = "-";
            }
        }
Ejemplo n.º 3
0
        private void GetEducationBefore(string id)
        {
            var biz = new BLL.DataCenterBiz();
            var ls  = biz.GetEducationById(id);

            if (ls != null)
            {
                ListItem listItem = new ListItem();
                listItem.Value = ls.Id;
                listItem.Text  = ls.Name;

                txtEducationBeforeReg.Text = listItem.ToString();
            }
            else
            {
                txtEducationBeforeReg.Text = Resources.propregApproveOfficerOIC_002;
            }
        }