private void Init() { //account = accountBAL.GetAccountByNo(accountNo); //ctlBill = new controlBill(account); DataTable dt = accountBAL.TableGetAccountByNo(accountNo); ctlBill = new controlBill(dt); ctlBill.Dock = DockStyle.Fill; panel1.Controls.Add(ctlBill); }
private void InsertNewAccount() { tblAccount = accountBAL.TableGetAccountByNo(""); accountBindingSource.DataSource = tblAccount; }