private void LISTToolStripMenuItem3_Click(object sender, EventArgs e) { try { Bloodbanks n = new Bloodbanks(); dgvStaff.DataSource = n.ListBloodbanks(); } catch (Exception ex) { throw new Exception(ex.Message); } }
private void LISTToolStripMenuItem3_Click(object sender, EventArgs e) { try { Bloodbanks n = new Bloodbanks(); dgvDonors.DataSource = n.ListBloodbanks(); } catch (Exception ex) { MessageBox.Show(ex.Message); } }