如何使用SQL对一个CSV文件

问题描述:

我想使用C#的CSV文件使用一个SQL查询。也有一些是这样的用于Java 这里。有没有这样的事对C#?

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#?

您可以使用相应的OLE DB提供程序来查询文本文件。你可以在这里找到查询字符串:

You can use the appropriate OLE DB provider to query the text file. You can find the query string here:

TEXTFILE连接字符串示例