title: eval in anchor tag href
body: <p>What I am trying to achieve is to use an Eval as parameter in my anchor tag's href. The anchor is nested inside a repeater, why I cannot use the code behind to achieve this.</p>
  
  <p>I have tried a few things without any luck.</p>
  
  <pre><code>&lt;a href="http://MyWebsite/ActiveUsers?ID=InsertEvalHere"&gt;&lt;%# Eval("Name")%&gt;&lt;/a&gt;
  </code></pre>
  
  <p>The following code below is what I have tried to do:</p>
  
  <pre><code>&lt;a href="&lt;% "http://MyWebsite/ActiveUsers?ID=" + DataBinder.Eval(Container.DataItem("ID"))%&gt;"&gt;&lt;%# Eval("Name")%&gt;&lt;/a&gt;
  
  &lt;a href="&lt;% "http://MyWebsite/ActiveUsers?ID=" + Eval("ID")%&gt;"&gt;&lt;%# Eval("Name")%&gt;&lt;/a&gt;
  
  &lt;a href="http://MyWebsite/ActiveUsers?ID=&lt;% DataBinder.Eval(Container.DataItem("ID"))%&gt;"&gt;&lt;%# Eval("Name")%&gt;&lt;/a&gt;
  
  &lt;a href="http://MyWebsite/ActiveUsers?ID=&lt;%# Eval("ID")%&gt;"&gt;&lt;%# Eval("Name")%&gt;&lt;/a&gt;
  </code></pre>
  
  <p>None of the above seemed to be right, as I keep getting this error - <strong>The tag is not well formed.</strong></p>
  
  <p>How should I handle this?</p>