Asp.net : use of <%# or <%
<p>i'm having the following problem. 
I've a ASPX page with no databound and the following syntax: </p>

<pre><code>&lt;asp:label runat=server.... text='&lt;%# MyFunction("parameter") %&gt;' /&gt;
</code></pre>

<p>MyFunction is declared as follow:</p>

<pre><code>protected function MyFunction(par as string) as string
  if par = "1" then
     MyFunction="something"
  else

  end if
end function
</code></pre>

<p>But ASP.NET don't evaluate MYFUNCTION . </p>

<p>What's i'm going wrong ?</p>
