 <p>The following should work:</p> <pre><code>&lt;%# GetGreeting(DataBinder.Eval(Container.DataItem, "FullName").ToString()) %&gt; </code></pre> <p>or a shorter form:</p> <pre><code>&lt;%# GetGreeting(Eval("FullName").ToString()) %&gt; </code></pre>