Reputation: 53
After getting the details from the DB in a [data-table], I am trying to convert it to Enumerable using "AsEnumerable()" though getting an error message. I think I added all the assemblies required. Following is the error I am getting. Not able to find anything, any help will be appreciated.
Upvotes: 1
Views: 363
Reputation: 1331
Try referencing both "System.Data" and "System.Data.DataSetExtensions" (no need to reference Linq too).
Upvotes: 2