How to compare contents of 2 files

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • raj85
    New Member
    • Feb 2008
    • 1

    How to compare contents of 2 files

    i want to compare 2 same files which is located at different location. i olready created 2 file browser button. now i juz need c# code to do comparing text of the both files. it muct check both contents are same and after tat it should save the result in a "result1.Te xt=" box and i have a save button on my webpage, when i click tat button i want save the result as text document. do any1 can help on this?
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by raj85
    i want to compare 2 same files which is located at different location. i olready created 2 file browser button. now i juz need c# code to do comparing text of the both files. it muct check both contents are same and after tat it should save the result in a "result1.Te xt=" box and i have a save button on my webpage, when i click tat button i want save the result as text document. do any1 can help on this?
    What have you done so far?

    Comment

    Working...