ASP.NET : How to highlight differences between two form views with the same text boxes between them
Posted on 2014-10-04
I have two FormViews on a web page: One shows a row of data (fields, columns) from a database table, the other the same row of data. The difference between them is that one of the FormViews show one or more fields that a user changed (Updates to the record). I want to highlight in one or both of the FormViews, which pair(s) of the same fields are different between them.
Name: Joe Name: Joe
Phone Num: 800-999-9999 Phone Num: 888-999-9999
I would like to highlight the phone number because it's been updated. The real FormViews will have many fields so it's not easy for someone looking at the two FormViews to spot any changes unlike in the trivial example above.
How to approach this problem or some code (VB or C# is ok) would be appreciated. Thanks!