looping through a dictionary

Certified Senior Developer

I've got a dictionary of values and I would like to either loop through it for a grid, or convert it to something I can loop through. How might I do that? 

For example, I've got this dictionary:

{A: 3.1, B: 2.2, C: 1.3}

I'd like to have a table that is something like Name for the first column containing A, B, C and Value for the second column with the various numbers in there. I'd like to also record a similar in thing in the database. How can I do that? 

  Discussion posts and replies are publicly visible