Hello, I have created a list and used it with tiny dB so what does this list does
basically, it just saves numbers in the list a lot of them, so I need help with summing up
the list
I want every number that in the list to be summed and show it on labels
the labels are called "0"
this the code for the list and tiny dB that I have created
The code in Initialize is generating a list from 1 to 100, and storing it in TinyDB (to have a list of numbers for the example). The code in the Button.Click is recovering the numbers list stored in tinyDB and adding all the numbers (and displaying the result in label2).
But you have changed the tag "numbers" by "calories", haven't you? Maybe you have not stored the numbers in tinyDB? Check what do you have in the tag "calories" in tinyDB.