Esempio n. 1
0
        /// <summary>
        /// <LASTUPDATE>30/04/2557</LASTUPDATE>
        /// <AUTHOR>Natta</AUTHOR>
        /// </summary>
        private void GetMemberType()
        {
            BLL.DataCenterBiz biz = new BLL.DataCenterBiz();
            var ls = biz.GetMemberTypeRegister("").DataResponse.ToList();

            //Assign new Name for MemberType = 1
            //var chkls = ls.FirstOrDefault(m => m.Id.Equals("1"));
            //if (chkls != null)
            //{
            //    chkls.Name = "บุคคลทั่วไป/ตัวแทน/นายหน้า";
            //}

            //ls.RemoveAt(4);
            BindToDDL(ddlMemberType, ls);
        }