Ejemplo n.º 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Session["UserID"] == null)
            {
                Response.Redirect("~/Login.aspx");
            }
            else
            {
                InvoiceItem ii = new InvoiceItem();
                OrderItemsGrid.DataSource = ii.GetAllInvoiceItemsByOrderID(Convert.ToInt32(Request.QueryString["orderid"]));
                DataBind();

                if (!Page.IsPostBack)
                {
                }
            }
        }