简体   繁体   中英

Reading Excel file , getting single row in an array in c#

I have a old excel file , i want to modify that.

i need to filter rows from my old excel file and write selected rows to new excel file.

My plan is to read a single row,store it in a list,pass this arraylist to a function.

The function does some checking on the arraylist, if the condition is satisfied, i will write this entire row to my new excel file else i will go back and read next row.

I am not getting anything to read a single row and save it in a arraylist.

I am able to read cell by cell and do conditioning , but this is very slow.

Any better option.

同时将整个输入文件读取到定制对象中,进行处理,然后同时将所有这些数据写入最终的Excel文件中。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM