Why am I not getting .CopyToDataTable() in Linq Query()

前端 未结 7 1052
既然无缘
既然无缘 2020-12-11 02:22

This following code example is borrowed from MSDN here. I am not getting query.CopyToDataTable() available in my code. (see the commented line in my following code).

7条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-11 03:21

    Have you referenced System.Data.DataSetExtensions assembly? This extension method is defined there.

提交回复
热议问题