Querying DataColumnCollection with LINQ

前端 未结 3 1526
暗喜
暗喜 2021-01-30 16:05

I\'m trying to perform a simple LINQ query on the Columns property of a DataTable:

from c in myDataTable.Columns.AsQueryable()
    select c.ColumnName

3条回答
提交回复
热议问题