Пример #1
0
        private TaiKhoan_DTO getdataUser()
        {
            TaiKhoan_DTO user = new TaiKhoan_DTO();

            user.MatKhau = Register_BLL.EncryptMD5(txtPass.Text);
            return(user);
        }
Пример #2
0
        private TaiKhoan_DTO getdataUser()
        {
            TaiKhoan_DTO user = new TaiKhoan_DTO();

            user.Id_taiKhoan = txtUser.Text;
            user.MatKhau     = Register_BLL.EncryptMD5(txtPass.Text);
            user.HoTen       = txtHoTen.Text;
            user.NgaySinh    = Convert.ToDateTime(dateNgaySinh.Value);
            user.Id_capBac   = Convert.ToInt32(cbCapBac.EditValue.ToString());
            user.Id_chucVu   = Convert.ToInt32(cbChucVu.EditValue.ToString());
            user.Id_donVi    = Convert.ToInt32(cbDonVi.EditValue.ToString());

            return(user);
        }