예제 #1
0
        public DataTable GetOrders()
        {
            OrderDatahandler Orderdata = new OrderDatahandler();

            dataT = Orderdata.GetOrders("Orders");
            return(dataT);
        }
예제 #2
0
        public DataTable FiltereOrder(int orderID)
        {
            OrderDatahandler OrderData = new OrderDatahandler();

            FilteredOrder = OrderData.SearchOrder("Orders", orderID);
            return(FilteredOrder);
        }
예제 #3
0
        public DataTable FiltereClientOrders(string ClientID)
        {
            ClientDataHandler ClientHandler = new ClientDataHandler();

            try
            {
                OrderDatahandler clientData = new OrderDatahandler();
                FilteredClientOrder        = clientData.GetOrderClients("Clients", ClientID);
                ClientHandler.ErrorChecker = true;
                return(FilteredClientOrder);
            }
            catch (Exception)
            {
                ClientHandler.ErrorChecker = false;
                throw;
            }
        }