Your linq query seems to be OK.
A problem lies somewhere else...
Quote:
Richard Deeming 16-May-16 8:36am
You should be able to use something like:
Catg_type = s.yi.pt.catg.Catg_type
Are you saying you're not getting any items in the Intellisense list?
super_user 17-May-16 0:49am
yes
If intellisense stopped working and does not display the name of entity you expect to see when you type [
.
] (dot), you have to check for missing reference to
System.Linq
(in
System.Data.Linq.dll
). This is the common reason...
To resolve issue, add a reference to
System.Linq
in each module where intellisense stopped working. For ASP.NET pages, you have to add reference to
web.config file:
<system.web>
...
<pages>
<namespaces>
<add namespace="System.Linq" />
</namespaces>
</pages>
</system.web>