Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Difference between two datagrid values and display the result in a new row

$
0
0

I have a datagrid that displays a table from a database vertically as follows : 

  Scores1     | 75
  Scores2     | 100
  Difference  | ?

      
I have to added a new row called Difference which should display the difference between theScores1 row value  & the Scores2 row value.

(P.S : No negative values from the difference)

How to achieve this in WPF?


Beauty is within what you see & feel ! - Indhira


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>