private void BankAccount_Load(object sender, EventArgs e) { BankAccountHomePage cb = new BankAccountHomePage(); fetchdetails(); clearData(); cb.bindbankdata(); }
private void btnsave_Click(object sender, EventArgs e) { BankAccountHomePage cb = new BankAccountHomePage(); try { if (id == "") { Insert(); txtbankname.Focus(); fetchdetails(); cb.bindbankdata(); } else { MessageBox.Show("Same Record Not Insert"); } } catch (Exception ex) { // MessageBox.Show("error"+ex); } }
private void guna2ShadowPanel2_Paint(object sender, PaintEventArgs e) { BankAccountHomePage cb = new BankAccountHomePage(); cb.bindbankdata(); }