DataTable does not have AsEnumerable

I have problem locating my AsEnumerable extension method in my DataTabe (System.Data). Thank god for this post by Angel

I was able to find this method once i have added reference to the following assembly.

C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5\System.Data.DataSetExtensions.dll

Try to do a dummy Build and you should be able to get it.


ѕнємєєя said…
after aadiing the reference it works for me

before adding the reference i was getting error on missing refernce in the following items....

thank you

benbenbenbenben said…
I had to add "using System.Data;" in order to get this to work.
Jamie said…
Thanks for the post ... saved me some hassle
Johan änna said…
Cheers mate, saved me some trouble!

Popular posts from this blog

ionic2 cordova build android - Unable resolve gradle 2.2.3

A quick tutorial for OWASP ZAP tool for beginners

OpenCover code coverage for .Net Core