Reading A Fixed Format Text File

后端 未结 2 1388
鱼传尺愫
鱼传尺愫 2021-01-29 14:21

Its been years since I have had to attempt to read a file using either Microsoft Text ODBC Driver or Microsoft Jet OLE DB 4.0 Provider.

So I have the following code

2条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-29 14:58

    I know this is not a real answer to your question, but i would really rethink about using this architecture to read in a file.

    I would really prefer something like CSV Reader, cause it gives you much more power about how the data will be interpreted. Alternative you could also take a look into the FileHelpers.

提交回复
热议问题