Import Namespace System.Query,
I am trying to load Linq on my .Net 3.5 enabled web server by adding the following to my .aspx page:
<%@ Import Namespace="System.Query" %>
However, this fails and tells me it cannot find the namespace.
The type or namespace name ‘Query’ does not exist in the namespace ‘System’
I have also tried with no luck:
I believe that .Net 3.5 is working because
var hello = "Hello World" seems to work.
Can anyone help please?
PS: I just want to clarify that I don’t use Visual Studio, I simply have a and write my code directly into .aspx files.
I have version 2 selected in IIS and I
Well, surely that’s your problem? Select 3.5.
Actually, here’s the real info:
That’s the answer Import Namespace System.Query, Hope this helps those looking for an answer. Then we suggest to do a search for the next question and find the answer only on our site.
The answers provided above are only to be used to guide the learning process. The questions above are open-ended questions, meaning that many answers are not fixed as above. I hope this article can be useful, Thank you