Exemplo n.º 1
0
 void DisplayOrders()
 {
     TrainerClasses.clsOrderCollection Orders = new TrainerClasses.clsOrderCollection();
     ListBox_Order.DataSource     = Orders.OrderList;
     ListBox_Order.DataValueField = "ONumber";
     ListBox_Order.DataTextField  = "CustomerID";
     ListBox_Order.DataBind();
 }
Exemplo n.º 2
0
    void DisplayStock()
    {
        TrainerClasses.clsOrderCollection Stock = new TrainerClasses.clsOrderCollection();

        IstStockList.DataSource = Stock.Count;

        IstStockList.DataValueField = "ShoeID";

        IstStockList.DataTextField = "Name";

        IstStockList.DataBind();
    }