Why is the column name from a CSV file different than its DataTable?

后端 未结 1 878
慢半拍i
慢半拍i 2021-01-25 06:34

I\'m using an OleDbConnection, OleDbCommand, and OleDbDataReader to read a CSV file into a DataTable.

The CSV file uses the first row as a header row.

Some o

1条回答
  •  有刺的猬
    2021-01-25 07:17

    It's replacing periods because they're metacharacters in SQL for specifying hierarchies. I don't believe it's at all advisable to try to preserve the period.

    0 讨论(0)
提交回复
热议问题