-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
Hi,
I was able to get a total amount of one column...but now I am having trouble displaying it, what would you recommend?
```
result.Items = query.ToList();
var totalAmount = 0.0;
foreach (var item in result.Items)
{
totalAmount += item.Amount;
}
ViewBag.totalAmount = totalAmount;
I have tried with a ViewBag but that did not work at all. This code is inside the RetrieveData block.
Metadata
Metadata
Assignees
Labels
No labels