Beispiel #1
0
        protected void btnPastOrders_Click(object sender, EventArgs e)
        {
            UserAccount user      = (UserAccount)Session["UserAccountObj"];
            OrdersBLL   ordersBLL = new OrdersBLL();

            DataTable dt = new DataTable();

            dt = ordersBLL.DoRetrieveCustomerCompletedOrder(user.UserId);
            gv_pastOrders.DataSource = dt;
            gv_pastOrders.DataBind();
            gv_pastOrders.Visible = true;
        }