Ejemplo n.º 1
0
 private void ChangeDoctor_btn_Click(object sender, EventArgs e)
 {
     DataGridViewRow hclinic = new DataGridViewRow();
     hclinic = Doctor_dataGrid.CurrentRow;
     doctor = new NewDoctor(hclinic, StatusLbl);
     doctor.iIdRecord = false;
     
     doctor.ShowDialog();
     string sql = GetSQLStringDoctor();
     Doctor_dataGrid.DataSource = ToDataTable(sql);
 }
Ejemplo n.º 2
0
 private void AddDoctor_btn_Click(object sender, EventArgs e)
 {
         doctor = new NewDoctor(StatusLbl);
         doctor.iIdRecord = true;
         doctor.ShowDialog();
         string sql = GetSQLStringDoctor();
         Doctor_dataGrid.DataSource = ToDataTable(sql);
         
 }