public void updateGridView() { //dgvBridelist.AutoGenerateColumns = false; Bride b = new Bride(); dgvBridelist.DataSource = b.ListBride(); }
private void BrideList_Load(object sender, EventArgs e) { try { Bride b = new Bride(); dgvBridelist.DataSource = b.ListBride(); } catch (Exception ex) { throw new Exception(ex.Message); } }
public void BindGridView() { try { Bride b = new Bride(); dgvBridelist.DataSource = b.ListBride(); } catch (Exception ex) { throw new Exception(ex.Message); } }