Forum Moderators: open

Message Too Old, No Replies

DataBind Repeater to a Dictionary

         

Jimmy Turnip

1:54 pm on Oct 24, 2006 (gmt 0)

10+ Year Member



I know you can bind a Dictionary to a Repeater because it implements IEnumerable, but does anyone know how I then access those key-value pairs in the aspx with bound markup (e.g. <%# [something] %>)

Any help is appreciated.

Jimmy Turnip

2:47 pm on Oct 24, 2006 (gmt 0)

10+ Year Member



I had been really silly and put everything in the HeaderTemplate instead of the ItemTemplate. What a fool.