AsEnumberable() is an extension method of System.Data.DataTable. It is found in the Assembly System.Data.DataSetExtensions.dll. This assembly should be registered in your GAC. All you need to do is add a reference to this assembly in your project and you should be good.
This assembly contains other helpful functions such as AsDataView which turns a DataTable into a DataView and CopyToDataTable which copies a set of DataRows to the specified DataTable.
Cheers,
Rob
No comments:
Post a Comment