Beispiel #1
0
        }//end of NoEdit

        //method to view all transactions
        private void btnAllTranactions_Click(object sender, EventArgs e)
        {
            // sets dgvTransfer to hidden, dgvTransactions visibable
            dgvTransactions.Visible = true;
            dgvTransfers.Visible    = false;

            BLLTransactionManager    bllTransMngr = new BLLTransactionManager();
            List <TransactionRecord> transList    = new List <TransactionRecord>();

            int accNum = int.Parse(txtAccountNum.Text);

            transList = bllTransMngr.GetTransactionDetailsAsList(accNum);

            dgvTransactions.DataSource = transList;
        }//end of all transactions