Exemplo n.º 1
0
        /// <summary>
        /// ISSUE IAS INTERNAL AR IASAR-392
        /// </summary>
        /// <param name="dropdown"></param>
        /// <AUTHOR>Natta</AUTHOR>
        public void GetNationality(DropDownList dropdown)
        {
            var message = SysMessage.DefaultSelecting;

            BLL.DataCenterBiz biz = new BLL.DataCenterBiz();
            var ls = biz.GetNationality(message);

            BindToDDL(dropdown, ls);
            //string code = ls.FirstOrDefault(w => w.Name == "ไทย").Id;
            //dropdown.SelectedValue = code;
        }
Exemplo n.º 2
0
        private void GetNationality()
        {
            var message = SysMessage.DefaultSelecting;

            BLL.DataCenterBiz biz = new BLL.DataCenterBiz();
            var ls = biz.GetNationality(message);

            BindToDDL(ddlNationality, ls);
            string code = ls.FirstOrDefault(w => w.Name == "ไทย").Id;

            ddlNationality.SelectedValue = code;
        }