Comparing the contents of 2 excel files

后端 未结 3 1571
说谎
说谎 2020-12-19 22:07

I have 2 excel files and i wanted to compare the contents and highlight the differences. For example:

first file...

name|age
abc|123
def|456
second f         


        
3条回答
  •  隐瞒了意图╮
    2020-12-19 22:32

    I would use epplus to load both documents into datatables and then iterate over them to find differences. Depending on how you want to highlight differences, you could simply color the cells with epplus and save them back to the files..

提交回复
热议问题