title: How to call Eval in codebehind?
body: <p>How the heck do I call Eval() from codebehind?  I know this is a front-end shortcut for something like DataBinder.Eval(Container.DataItem, "name"), but I cannot get this damn thing to compile.  I am missing the proper method parameters, I think.  I want to turn something like this:</p>
  
  <pre><code>&lt;asp:Image ID="imgLogo" runat="server" ImageUrl='&lt;%# Eval("name") %&gt;'/&gt;
  </code></pre>
  
  <p>into:</p>
  
  <pre><code>&lt;asp:Image ID="imgLogo" runat="server" ImageUrl='&lt;%# GetImagePath(???) %&gt;'/&gt;
  </code></pre>
  
  <p>w/ code-behind:</p>
  
  <pre><code>protected string GetImagePath(????)
  {
      //some code
      return "some/logical/path" + Eval("name");
  }
  </code></pre>
  
  <p>The asp:Image control is in a repeater that is bound to a SqlDataReader.</p>