This is an exercise against the Northwind DB Customers table. I have an XML Linq query that works fine in winform -- but not working in my simple aspx page (VS2012). I have an Entity that only includes the Customers table from the Northwind DB. The error
message is pretty basic "xml linq query not supported" I am including the code behind, the webform source code, and the Entity code -- and hope someone could see what I am doing incorrectly. I will guess that I need to put my xml linq query in it's own class.
Any suggestions apprecicated how to make this work.
--Code Behind
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;
using System.Xml.XPath ...
Go to the complete details ...