private void Transactions_Load(object sender, EventArgs e)
 {
     //Setting the data source of the data grid to displaya transactions
     transactionBLL = new TransactionBLLManager();
     DataSet ds = transactionBLL.GetDetailsForViewGrid(AccountNumber);
     dgvDisplay.DataSource = ds.Tables[0];
 }
 public PrintTransactions(int accountNumber)
 {
     InitializeComponent();
     AccountNumber = accountNumber;
     transactionBLL = new TransactionBLLManager();
     DataSet ds = transactionBLL.GetDetailsForViewGrid(AccountNumber);
     dgvTransactions.DataSource = ds.Tables[0];
     lblAccNum.Text = AccountNumber.ToString();
 }