Solved linq dtb.AsEnumerable not available

Posted on 2012-09-10
Last Modified: 2012-09-10
If I create a new project and trying to set dtb.AsEnumerable in my linq query and it works. In an existing project its underlined in blue and states "is not a memeber of". I'm importing system.linq. The only difference is the target .net framework is set to .net 4.0 and the one where it worked was set to .net 4.0 client profile. Tried in my working projet and it works with either framework option.

Dim dtb As DataTable

        dtb = GetTable()

        Dim query =
            From record In dtb.AsEnumerable
            Select record
Question by:glenn_r
    1 Comment

    Accepted Solution

    found that I needed to reference datasetextensions

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
    It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now