locked
Missing DataSet.Instance in web client factory project RRS feed

  • Question

  • User1215150307 posted
    There is no Instance property in FoodDataSet
            public IList<Order> Orders
            {
                get
                {
                    DataView view = new DataView(FoodDataSet.Instance.Customers);
                    _orders = new List<Order>();
                    foreach (DataRowView row in view)
                    {
                        FoodDataSet.OrderRow orderRow = row.Row as FoodDataSet.OrderRow;
                        _orders.Add(new Order(orderRow.Id, orderRow.DetailID, orderRow.CreationDate));
                    }
    
                    return _orders;
                }
            }
    Sunday, July 10, 2011 11:35 PM

Answers

  • User1215150307 posted

    solved by found having to added manually

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, July 11, 2011 6:14 AM