473,386 Members | 1,924 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

LINQ intellisense only partially working

I have a web application that I converted from ASP.NET 2.0 to ASP.NET 3.5 in
Visusal Studio 2008.

At first, LINQ coding wouldn't work at all. So I added the necessary
references like system.linq, etc. Basically I copied exactly the references
from another ASP.NET 3.5 project created in VS2008, where the LINQ works as
advertised.

So back to my converted project. After adding the references, LINQ worked
partially. I could write stuff like:
Dim Products = From p In db.Product Select p

But when I went to bind it to a GridView, although it would bind, the
intellisense dropdown where I'm supposed to see "Skip()" and a bunch of
other methods, are NOT there. I only get the "Equals()" and other items that
result from a generic un-typed object.

What am I missing?

Bill K.

Mar 6 '08 #1
0 1086

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: subtle | last post by:
I've installed Orcas beta1 March 2007 CTP. I get compiler errors on any LINQ related code. For example: List<stringcities = new List<string>(); cities.Add("London"); cities.Add("Paris");...
4
by: BeSharp | last post by:
I recently stumbled across a pretty interesting LINQ to SQL question and wonder, whether anybody might have an answer. (I'm doing quite some increasing LINQ evangelism down here in Germany.). ...
4
by: Lacutas | last post by:
Hi all, I am having some problems using LINQ to access Distinct records from a Dataset. I have looked around and believe it should be as simple as added .Distinct() to my LINQ query below, though...
7
by: Andy B | last post by:
Just wondering why linq is more useful than datasets? The stuff I do doesn't seem to be too complicated to use linq with it. If I did use linq with it now, I would be doing almost the exact same...
2
by: stephen | last post by:
Hi, I apologize for posting Linq questions here. I wanted to try to work with Linq and found a Linq (May 2006) CTP that can be used with .NET 2005. when I run the msi, i get this message: "A...
9
by: =?Utf-8?B?cmF1bGF2aQ==?= | last post by:
Hi all: after reading different places/sites about linq... I ran into these questions: 1. What framework do we need to run linq ? (does it depend on what version of visual studio we have?) how...
6
by: Paulo | last post by:
Why LINQ should be used on my asp.net applications? I use C# 2.0, will I have to move to 3.0/3.5 just because LINQ? Tell me how to convert 2.0 code to LINQ, please. I just want to stay up to...
4
by: =?Utf-8?B?RXJpYyBGYWxza2Vu?= | last post by:
We’re storing our main entity in an insert only table which stores the history of past revisions, but we’re facing problems with storing this history as LINQ will only update the entity, and...
3
by: =?Utf-8?B?UGF1bCBQcmV3ZXR0?= | last post by:
I'm attempting to use LINQ to insert a record into a child table and I'm receiving a "Specified cast is not valid" error that has something to do w/ the keys involved. The stack trace is: ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.