If you begin writing some LINQ to DataSet queries, and try to find the .AsEnumerable function exposed on a DataTable, you will see the following design time error occur:
'AsEnumerable' is not a member of 'System.Data.DataTable'
This is because this functionality exists in the System.Data.DataSetExtensions namespace. Add a reference to this .dll and the error will resolve, and this functionality will become available.
Thanks so much!ReplyDelete
Just what i needed.
Thanks man !!!ReplyDelete
My code works again !
It's help me.
Another reason can be that the dataset is out of date. Use Run Custom Tool to make it up to date and add reference to System.Data.DataSetExtensions as this article says.ReplyDelete
Thank you for guide.
Thank you! It's resolved my issue.ReplyDelete