Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_windows_forms thread: Calculations in a DataGrid


Message #1 by "Shaneil Narayan" <SNarayan@e...> on Tue, 26 Nov 2002 13:53:10 +1200
I want to do a calculation in a datagrid.  I want to subtract values in
columns 1 and 2 to give the answer in column 3. ie;  Column 2 - Column 1 
Column 3

Column        1        2       3
-------------------------------------------
Row 1          2        4       ?
Row 2          7       21      ?


How do I do that?
The datagrid was created using the toolbox.


Any suggestions will be appreciated.
Thanks in advance.


  Return to Index