title: How do I use Eval() to reference values in a SortedDictionary in an asp Repeater?
body: <p>I thought I was clever to switch from the memory intensive DataView to SortedDictionary as a memory efficient sortable data structure.  Now I have no idea how get the key and value out of the datasource in the &lt;%# or Eval() expressions.</p>
  
  <pre><code>SortedDictionary&lt;int, string&gt; data = RetrieveNames();
  rCurrentTeam.DataSource = data;
  rCurrentTeam.DataBind();
  
  &lt;asp:Repeater ID="rNames" runat="server"&gt;
   &lt;ItemTemplate&gt;
    &lt;asp:Label ID="lblName" runat="server" Text='&lt;%# Eval("what?") %&gt;' /&gt;
   &lt;/ItemTemplate&gt;
  &lt;/asp:Repeater&gt;
  </code></pre>
  
  <p>Any suggestions?</p>