title: Call a function on result of ListView Eval call
body: <p>i have a list view in my pages and i want to display some statistics, my Restaurant class has a Reservations property <code>public List&lt;Reservation&gt; Reservations { get; private set; }</code>, in my ListView, i would like to display number of reservations, but without making a new property like "ReservationsCount", nothing like this <code>&lt;%#Eval("Reservations")%&gt;.Count</code> doesn´t work</p>
  
  <pre><code>&lt;td id="Td10" runat="server"&gt;
      &lt;%#Eval("Reservations")%&gt;
  &lt;/td&gt;
  </code></pre>
  
  <p>Result of this <code>&lt;%#Eval("Reservations")%&gt;</code> is in the aspx page considered object, not a list of Restaurants, i don´t really know why, i am just beggining with asp.net so please help, maybe the solution is ridiculously easy:)</p>