예제 #1
0
        private void Load_SysConfig_Info(string strConfigID)
        {
            DataAccessPOS dbPOS = new DataAccessPOS();

            sysCons.Clear();
            sysCons = dbPOS.Get_SysConfig_By_ID(int.Parse(strConfigID));
            if (sysCons.Count == 1)
            {
                txt_ConfigID.Text      = sysCons[0].Id.ToString();
                txt_ConfigName.Text    = sysCons[0].ConfigName;
                txt_ConfigValue.Text   = sysCons[0].ConfigValue;
                txt_ConfigDesc.Text    = sysCons[0].ConfigDesc;
                check_IsActive.Checked = sysCons[0].IsActive;
            }
        }