I want to sum the 2 columns and put the output into a new column.
Example:-
Can anyone help me what to use ?
I want to sum the 2 columns and put the output into a new column.
Example:-
Can anyone help me what to use ?
Hi, @Soniya215,
row(“Total”) = Convert.ToString(Int32.Parse(Convert.ToString(row(“Column1”)))+Int32.Parse(Convert.ToString(row(“Column3”)))+Int32.Parse(Convert.ToString(row(“Column4”))))
At the end of the loop, you will have the datatable as required.
Happy Learning!
@Soniya215
Demo Xaml here: Soniya215_ColSum.xaml (8.8 KB)
Implemented Logic for the sum: Skip first Column and sum up dynamicly remaining row columns
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.