Esempio n. 1
0
 private void SetData(kkslm_ms_config_car_premium cp)
 {
     hdfID.Value = cp.slm_cc_pm_id.ToString();
     AppUtil.SetComboValue(cmbDBrand, cp.slm_Brand_Code);
     rdoDStatus.SelectedIndex = rdoDStatus.Items.IndexOf(rdoDStatus.Items.FindByValue(cp.is_Deleted.ToString()));
     cmbDBrand.Enabled        = false;
     updModal.Update();
 }
Esempio n. 2
0
        private kkslm_ms_config_car_premium GetData()
        {
            kkslm_ms_config_car_premium cp = new kkslm_ms_config_car_premium();

            cp.slm_cc_pm_id   = SLMUtil.SafeDecimal(hdfID.Value);
            cp.slm_Brand_Code = cmbDBrand.SelectedValue;
            cp.is_Deleted     = rdoDStatus.SelectedValue == "True";
            return(cp);
        }