Beispiel #1
0
        private void LoadOrderDetails()
        {
            Orderid   = Convert.ToInt32(Request.QueryString["orderid"]);
            OrderDate = Request.QueryString["orderdate"];

            I_EshopserviceClient client = new I_EshopserviceClient();

            OrderTable = client.GetOrderDetails(Orderid, OrderDate);

            Repeater_OrderDetails.DataSource = OrderTable;
            Repeater_OrderDetails.DataBind();
        }
Beispiel #2
0
        private void LoadDetails()
        {
            Orderid   = Convert.ToInt32(Request.QueryString["orderid"]);
            OrderDate = Request.QueryString["orderdate"];

            //For debugging
            //System.Diagnostics.Debug.WriteLine("\nOrderid: " + Orderid + "\nOrderdate: " + OrderDate + "\n\n");

            I_EshopserviceClient client = new I_EshopserviceClient();

            try
            {
                DetailTable = client.GetOrderDetails(Orderid, OrderDate);
            }
            catch (Exception ex)
            {
                System.Diagnostics.Debug.WriteLine("Something went wrong when orderdetails was loading: " + ex.Message);
            }

            Repeater_OrderDetails.DataSource = DetailTable;
            Repeater_OrderDetails.DataBind();
        }