Reading Comma Delimited Text File to C# DataTable, columns get truncated to 255 characters

后端 未结 6 1854
我寻月下人不归
我寻月下人不归 2021-02-10 21:14

We are importing from CSV to SQL. To do so, we are reading the CSV file and writing to a temporary .txt file using a schema.ini. (I\'m not sure yet exactly why are are writing t

6条回答
  •  时光取名叫无心
    2021-02-10 21:27

    I think the best way to do it is by using CSVReader in the following blog: http://ronaldlemmen.blogspot.com/2008/03/stopping-and-continuing-save-event.html

提交回复
热议问题