Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 08, 2008 02:16 PM by Ken Tucker
May 08, 2008 01:41 PM|LINK
I'm new to C# and to LINQ, experienced with VB and .NET's DataXXXX objects. My LINQ queries (calling stored procedures in LINQ data context) return IEnumerable and ISingleResult or IMultipleResult types that are not compatible with the data objects I'm
used to. Is there information around that shows how to efficiently get the LINQ results into a datatable or dataset?
May 08, 2008 02:09 PM|LINK
You can create a datatable from the result...See post below
see the portion titled "BYOC"
May 08, 2008 02:16 PM|LINK
There is a CopyToDataTable method of the linq query