private void btnDongy_Click(object sender, EventArgs e) { if (kiemtra()) { data.ThemNguoiDung(txtUsername.Text, txtPass1.Text, cmbLoaitk.SelectedValue.ToString()); MessageBox.Show("Thành Công"); this.Close(); } }
public void ThemNguoiDung(DataRow m_Row) { m_NguoiDungData.ThemNguoiDung(m_Row); }