How to iterate through a column in an Excel application through C# Console?

后端 未结 3 394
傲寒
傲寒 2021-01-22 18:02

I have created a Console Application that reads from an Excel file. I want to take all of the document numbers and place it in an array for searching purposes. I am able to find

3条回答
  •  渐次进展
    2021-01-22 18:33

    Wouldn't it be easier to read the data using OLEDB? Cleaner syntax, then you can foreach a DataTable that is returned.

提交回复
热议问题