Hi there,
Need to store all the 3 deposit and total amount where i will the total amount to recon later. So i need help how to store and use them?
Hi there,
use a dictionary with key as deposit first column and value as the total amount
cheers
@Anil_G can i get the work flow
@Anil_G for deposit i can put an assign but for the amount which has 4 rows how do i get total and assign
basically you want the data to be read as datatable and then save as well ..as the question was not clear as it want asked for a way to save
okay so if each data could be read as separate datable then dt.AsEnumerable.Sum(function(x) cdbl(x(“column to be totalled”).Tostring)).Tostring this gives total as string
if all the rows are read together into single datatable then you might need to first loop through each row and find out the total like by checking first column is empty get the total till there and then change the deposit account number and repeat the same in loop
cheers
Can you give more details about your scenario.
What is Input
What is output you are expecting
@yedukondaluaregala @Anil_G i am trying to store all the deposit and its total amount e.g. 112h, 300 in a datatable where i will use it recon in a browser.
Hi @lrtetala ur solution worked. I want to add on one more item which will be a date column which will in column b. For each deposit there would be a date. How do i group deposit date and amount using same method above?
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.