Linq results into a datatable RRS feed

  • Question


    Is it possible to convert a Linq result to a datatable?

    I've seen numerous re fences to a method called "CopyToDataTable()" but it doesn't show up in my intellisence, do I have to import something different to gain access to this?


    For the time being I've manually made a datatable and iterated through each Linq result and placed it in the datatable which can't be very efficient, is there a better way?




    Friday, November 23, 2007 11:26 AM


All replies