Say I have a data structure like a Dictionary<string, Dictionary<string, int>> or similar, and I want to render this as an HTML table with row-headers as the first string key, and column headers as the second string key. Is there a built-in or other Control for this?
Say I have a data structure like a Dictionary<string, Dictionary<string, int>> or similar, and
Share
There are no built in controls that will recognize a complex data structure like that. You’ll need to do a bit of custom coding for it.
You could probably easily accomplish it with a Repeater with an ItemDataBound event handler. Just off the top of my head, no testing: