Beispiel #1
0
 private void btnLoad_Click(object sender, EventArgs e)
 {
     if (radioBtnKH.Checked)
     {
         dtgvDoiTac.DataSource = kh.Load_BUS("select * from KhachHang");
     }
     else if (radioBtnNCC.Checked)
     {
         dtgvDoiTac.DataSource = ncc.Load_BUS("select * from NhaCC");
     }
     txtMa.Text    = "";
     txtTen.Text   = "";
     txtDC.Text    = "";
     txtDT.Text    = "";
     txtEmail.Text = "";
 }