Here is another one I hope somebody can help me with, this is the
AnyGrouped example and does not recognise the 'Group' as being valid :
List<Productproducts = GetProductList();
var productGroups =
from p in products
group p by p.Category into g
where g.Group.Any(p =p.UnitsInStock == 0)
select new { Category = g.Key, Products = g.Group };
foreach (var a in productGroups)
{
lbl.Text += a.Category + ":<br/>";
foreach (var b in a.Products)
{
lbl.Text += b + "<br/>";
}
}
*** Sent via Developersdex http://www.developersdex.com ***