how to extract Datatable or DataSet from Linq Query or List.

Posted by Azhar on Stack Overflow See other posts from Stack Overflow or by Azhar
Published on 2010-06-13T13:22:09Z Indexed on 2010/06/13 13:32 UTC
Read the original article Hit count: 406

Filed under:
|
|
|

how to extract DataTable or DataSet from Linq Query or List. e.g I have linq query like this

MyDBpDataContext dcSp = new MyDBpDataContext(); dcSp.myProgrammSP().ToList();

I wrote an Sp which sends a Table as result and I have code which is already using DataTable So I want to convert this result in DataTable.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about LINQ