protected void LoadGridViewTransactions()
 {
     try
     {
         GridViewTransactions.DataSource = transaction.retrievePaymentTransactionByMerchantID(DrpSearchByMerchant.SelectedValue);
         GridViewTransactions.DataBind();
     }
     catch { }
 }
Example #2
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (checkSession())
        {
            displayHeading.InnerHtml = "This is the Passbook Page = " + Session["account"];
            Transaction   transaction = new Transaction();
            AccountHolder account     = Session["AccountHolder"] as AccountHolder;

            _transactions = transaction.GetTransactionsByAccountNo(account);
            GridViewTransactions.DataSource = _transactions;
            GridViewTransactions.DataBind();
        }
    }
        protected void Page_Load(object sender, EventArgs e)
        {
            NRVVclient = new NRVVref.NRVVservice();
            String user = (String)Session["User"];

            token = (String)Session["Token"];

            if (user == null)
            {
                Response.Redirect("Login.aspx");
            }
            else
            {
                Session.Timeout = 60;
                LabelUser.Text  = "Hello, " + user;
                GridViewTransactions.DataSource = NRVVclient.getTrans(user, token);
                GridViewTransactions.DataBind();
            }
        }