title: #Eval if statement in repeater
body: <p>I'm trying to check a string value inside a repeater, and if it has value then write a link, but can't seem to get it to work. If there is a value in myUrl then I want to display the link.</p>
  
  <pre><code> &lt;%if( %&gt; &lt;%#Eval("myURL").ToString().Length &gt; 0 %&gt;
         &lt;a  title="myTitle" target="_blank" href="&lt;%# Eval("myURL") %&gt;"&gt;my link&lt;/a&gt;                  
   &lt;% } %&gt;
  </code></pre>
  
  <p>Can anyone please help?</p>