public List<OrderInfo> GetOrderDetails (int count)
		{
			SetShipCity ();
			this.OrderedDates = GetDateBetween (2000, 2014, count);
			List<OrderInfo> orderDetails = new List<OrderInfo> ();

			for (int i = 10001; i <= count + 10000; i++) {
				var shipcountry = ShipCountry [random.Next (5)];
				var shipcitycoll = ShipCity [shipcountry];

				var ord = new OrderInfo () {
					OrderID = i.ToString (),
					CustomerID = CustomerID [random.Next (15)],
					EmployeeID = random.Next (1700, 1800).ToString (),
					FirstName = FirstNames [random.Next (15)],
					LastName = LastNames [random.Next (15)],
					Gender = Genders [random.Next (5)],
					ShipCountry = ShipCountry [random.Next (5)],
					ShippingDate = this.OrderedDates [i - 10001],
					Freight = (Math.Round (random.Next (1000) + random.NextDouble (), 2)).ToString (),
					IsClosed = ((i % random.Next (1, 10) > 5) ? true : false).ToString (),
					ShipCity = shipcitycoll [random.Next (shipcitycoll.Length - 1)],

				};
				orderDetails.Add (ord);
			}
			return orderDetails;
		}
 internal OrderInfo RefreshItemsource(int i)
 {
     var ordeshipcity = ShipCity[ShipCountry[random.Next(0,5)]];
     var order = new OrderInfo()
     {
         OrderID = i.ToString(),
         CustomerID = CustomerID[random.Next(15)],
         EmployeeID = random.Next(1700, 1800).ToString(),
         FirstName = FirstNames[random.Next(15)],
         LastName = LastNames[random.Next(15)],
         Gender = Genders[random.Next(5)],
         ShipCountry = ShipCountry[random.Next(5)],
         ShippingDate = DateTime.Now,
         Freight = (Math.Round(random.Next(1000) + random.NextDouble(), 2)).ToString(),
         IsClosed = ((i % random.Next(1, 10) > 5) ? true : false).ToString(),
         ShipCity = ordeshipcity[0],
     };
     return order;
 }
 internal OrderInfo GenerateOrder(int id)
 {
     var shipcountry = ShipCountry[random.Next(5)];
     var shipcitycoll = ShipCity[shipcountry];
     var order = new OrderInfo()
     {
         OrderID = (id + 10000).ToString(),
         EmployeeID = random.Next(1700, 1800).ToString(),
         CustomerID = CustomerID[random.Next(15)],
         IsClosed = ((id % random.Next(1, 10) > 5) ? true : false).ToString(),
         FirstName = FirstNames[random.Next(15)],
         LastName = LastNames[random.Next(15)],
         Gender = Genders[random.Next(5)],
         ShipCity = shipcitycoll[random.Next(shipcitycoll.Length - 1)],
         ShipCountry = ShipCountry[random.Next(5)],
         Freight = (Math.Round(random.Next(1000) + random.NextDouble(), 2)).ToString(),
         ShippingDate = this.OrderedDates[random.Next(15)],
     };
     return order;
 }