Example #1
0
        private void BankAccount_Load(object sender, EventArgs e)
        {
            BankAccountHomePage cb = new BankAccountHomePage();

            fetchdetails();
            clearData();
            cb.bindbankdata();
        }
Example #2
0
        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);
            }
        }
Example #3
0
        private void guna2ShadowPanel2_Paint(object sender, PaintEventArgs e)
        {
            BankAccountHomePage cb = new BankAccountHomePage();

            cb.bindbankdata();
        }