title: How do you pass a Container.DataItem as a parameter?
body: <p>I'm using a repeater control and I'm trying to pass a parameter as such:</p>
  
  <pre><code>&lt;%# SomeFunction( DataBinder.Eval(Container.DataItem, "Id") ) %&gt;
  </code></pre>
  
  <p>It's basically calling:</p>
  
  <pre><code>public string SomeFunction(long id) {
  
      return "Hello";        
  
  }
  </code></pre>
  
  <p>I'm not able to achieve this as I get an error:</p>
  
  <p>error CS1502: The best overloaded method match ... SomeFunction(long id) ... has some invalid arguments.</p>
  
  <p>Any ideas?</p>