Exemplo n.º 1
0
        protected void btn_Done_Click(object sender, EventArgs e)
        {
            string User_ID = Request.Cookies["CurrentLoggedInUser"].Value;

            bookstorebo.uploadToHistory(User_ID, lbl_ReceiptNum.Text, lbl_ItemList.Text, Convert.ToDecimal(lbl_Cost.Text), lbl_PurchaseDate.Text);

            bookstorebo.deleteAllFromCart();
            Response.Redirect("Shopping Cart.aspx");
        }