如何比较ASP.net中两个文本文件的内容? [英] How to compare content of two text file in ASP.net?

查看:66
本文介绍了如何比较ASP.net中两个文本文件的内容?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将文件夹和图像的循环冗余校验和存储到文本文件(.txt)中.我想比较该文本文件,并找出是否对该文本文件和图像或文件夹的对应文件路径进行了添加.

Hi, i am storing cyclic redundancy checksum of folders and images into text file(.txt).and i want to compare that text file and find out if any addition made to that text file and correspondece file path of image or folder.

推荐答案

您可以从ASP.NET中的文本文件中读取.

为了进行比较,您必须知道用于存储数据的格式.根据格式,您可以在读取后比较两个文件并获得差异.
You can read from a text file in ASP.NET.

For comparison you have to be aware of the format you are using to store the data. Based on the format you can compare the two files after reading and get the differences.


这篇关于如何比较ASP.net中两个文本文件的内容?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆