title: How to pass in the entire object into a function in a repeater?
body: <p>In my codebehind I have:</p>
  
  <pre><code>List&lt;Products&gt; products = 
  rptr.Datasource = products;
  
  
  protected string GetVariants(Product product)
  {
    //
  }
  </code></pre>
  
  <p>In my repeater I have:</p>
  
  <pre><code>&lt;itemTemplate&gt;
  
  &lt;li&gt;  &lt;%# Eval("Name") %&gt;
  &lt;li&gt;  &lt;%# GetVariants(?????????????) %&gt;
  
  &lt;/itemTemplate&gt;
  </code></pre>
  
  <p>How do I pass the product object to the GetVariants method?</p>