How to use SQL against a CSV file

后端 未结 5 1968
隐瞒了意图╮
隐瞒了意图╮ 2021-01-12 11:04

I would like to use a SQL query on a CSV file using C#. There is something like this for java here. Is there anything like this for c#?

5条回答
  •  感情败类
    2021-01-12 11:26

    So, do you mean using Linq?

    Something like one of these?
    http://blogs.msdn.com/b/wriju/archive/2009/05/24/linq-to-csv-getting-data-the-way-you-want.aspx
    http://blogs.msdn.com/b/ericwhite/archive/2008/09/30/linq-to-text-and-linq-to-csv.aspx

提交回复
热议问题