Opening .dat (tab delimited file) in Excel, save as .xls

前端 未结 4 1598
无人及你
无人及你 2021-01-14 16:39

I am trying to open a .dat file in Excel, which is tab delimited, and then have it save out as a .xls file.

So far, I can read in the file and save it as the .xls fi

4条回答
  •  Happy的楠姐
    2021-01-14 17:41

    How about using FileHelpers ?

    I have used this approach a lot, and find it a super nice library.

    It handles delimited and fixed length files, and you can write back to Excel using the ExcelStorage class.

提交回复
热议问题