Hi All,
I have a requirement in C# to develop Client and server application.
Client Side: I need to develop UI application using WPF
Server SIDE: I need to read the two tables from the database and i need to find the difference between two tables.
For Example: Table1:
MachineID | CurrentValue | TaskName |
0001 | 2 | 000_Task1_123 |
0002 | 0.5 | 000_Task2_123 |
0003 | 0.0 | 000_Task3_345 |
0004 | 0.3 | 000_Task4_456 |
Table1:
MachineID | CurrentValue | TaskName |
0001 | 5 | 000_Task1_323 |
0002 | 0.8 | 000_Task1_123 |
0003 | 0.0 | 000_Task8_45 |
0004 | 0.9 | 000_Task4_456 |
I need to find each column value differences. The result table should look as below:
MachineID | CurrentValue | TaskName | MachineID | CurrentValue | TaskName |
0001 | 2 | 000_Task1_123 | 001 | 5 | 000_Task1_323 |
0002 | 0.5 | 000_Task2_123 | 002 | 0.8 | 000_Task2_123 |
0003 | 0.0 | 000_Task3_345 | 003 | 0.0 | 000_Task8_45 |
0004 | 0.3 | 000_Task4_456 | 004 | 0.9 | 000_Task4_456 |
Whichever column value is difference that value I need highlight with red colour. Whichever column value has no difference I need to keep as it is.
This finding difference algorithm I need to do it in server side using C# and the result I need to display in UI on client side.
Can please someone can help in finding the differences and how do i send the data between server and client.
It would be great if someone can help in this requirement.
Thanks & Regards,
Lokesh