BKI_DichVuMatDat.DanhMuc.f150_danh_muc_nhan_su_v2.form_to_us C# (CSharp) Method

form_to_us() private method

private form_to_us ( ) : void
return void
        private void form_to_us()
        {
            m_us.strMA_NV = m_txt_ma_nv.Text;
            m_us.strHO_DEM = m_txt_ho_dem_nv.Text;
            m_us.strTEN = m_txt_ten_nv.Text;
            if (m_cbo_gioi_tinh.Text.Trim().ToUpper() == "NAM")
                m_us.strGIOI_TINH = "Y";
            else m_us.strGIOI_TINH = "N";
            m_us.strEMAIL = m_txt_email.Text;
            m_us.strSDT = m_txt_sdt.Text;
            m_us.strSO_TAI_KHOAN = m_txt_so_tai_khoan.Text;
            m_us.strNGAN_HANG = m_txt_ngan_hang.Text;
            if (m_dat_ngay_cap_the.EditValue != null)
                m_us.datNGAY_CAP_THE = m_dat_ngay_cap_the.DateTime;
            if (m_dat_ngay_het_han_the.EditValue != null)
                m_us.datNGAY_HET_HAN_THE = m_dat_ngay_het_han_the.DateTime;
            if (m_dat_ngay_sinh.EditValue != null)
                m_us.datNGAY_SINH = m_dat_ngay_sinh.DateTime;
            m_us.strHON_NHAN = m_cbc_hon_nhan.Text;
            m_us.strSO_CMT = m_txt_so_cmt.Text;
            if (m_sle_trinh_do.EditValue != null)
                m_us.strTRINH_DO_VAN_HOA = m_sle_trinh_do.EditValue.ToString();
            if (m_dat_ngay_cap_cmt.EditValue != null)
                m_us.datNGAY_CAP = m_dat_ngay_cap_cmt.DateTime;
            m_us.strNOI_CAP = m_txt_noi_cap_cmt.Text;
            m_us.strQUOC_TICH = m_txt_quoc_tich.Text;
            m_us.strDAN_TOC = m_txt_dan_toc.Text;
            m_us.strTON_GIAO = m_txt_ton_giao.Text;
            m_us.strNOI_SINH = m_txt_noi_sinh.Text;
            m_us.strQUE_QUAN = m_txt_que_quan.Text;
            m_us.strDIA_CHI_THUONG_TRU = m_txt_dia_chi_thuong_tru.Text;
            m_us.strDIA_CHI_TAM_TRU = m_txt_dia_chi_tam_tru.Text;
            m_us.strDIA_CHI_LIEN_LAC = m_txt_dia_chi_lien_lac.Text;
            m_us.strMA_SO_THUE_CA_NHAN = m_txt_ma_so_thue_ca_nhan.Text;
            m_us.strCHUYEN_MON = m_txt_chuyen_mon.Text;
            //  m_us.strTRINH_DO_VAN_HOA = m_txt_trinh_do_van_hoa.Text;
            m_us.strNAM_TOT_NGHIEP = m_txt_nam_tot_nghiep.Text;
            m_us.strTOT_NGHIEP_TAI = m_txt_noi_tot_nghiep.Text;
            if (m_dat_ngay_vao_hang_khong.EditValue != null)
                m_us.datNGAY_VAO_HANG_KHONG = m_dat_ngay_vao_hang_khong.DateTime;
            if (m_dat_ngay_tiep_nhan_vao_tct.EditValue != null)
                m_us.datNGAY_TIEP_NHAN_VAO_TCT = m_dat_ngay_tiep_nhan_vao_tct.DateTime;
            if (m_dat_ngay_chinh_thuc_tiep_nhan.EditValue != null)
                m_us.datNGAY_CHINH_THUC_TIEP_NHAN = m_dat_ngay_chinh_thuc_tiep_nhan.DateTime;
        }