Пример #1
0
        protected void btnCurrentOrder_Click(object sender, EventArgs e)
        {
            UserAccount user      = (UserAccount)Session["UserAccountObj"];
            OrdersBLL   ordersBLL = new OrdersBLL();

            DataTable dt = new DataTable();

            dt = ordersBLL.DoRetrieveCustomerCurrentOrder(user.UserId);
            gv_currentOrders.DataSource = dt;
            gv_currentOrders.DataBind();
            gv_currentOrders.Visible = true;
        }