title: unable to bind data to label inside repeater
body: <p>My code is like this</p>
  
  <pre><code>&lt;asp:Repeater ID="rptEvaluationInfo" runat="server"&gt;
  &lt;ItemTemplate&gt;
     &lt;asp:Label runat="server" Id="lblCampCode" Text="&lt;%#Eval("CampCode") %&gt;"&gt;&lt;/asp:Label&gt;
  
  &lt;/ItemTemplate&gt;
  </code></pre>
  
  <p></p>
  
  <p>Everything looks okay to me, But it generates an error in the runtime. When I remove this part  </p>
  
  <pre><code>Text="&lt;%#Eval("CampCode") %&gt;" 
  </code></pre>
  
  <p>error goes.
  SO I assume the issue is with databind. So I tried an alternative like this</p>
  
  <pre><code>    &lt;asp:Repeater ID="Repeater1" runat="server"&gt;
  &lt;ItemTemplate&gt;
      &lt;label&gt;&lt;%#Eval("CampCode") %&gt; &lt;/label&gt;
  
  &lt;/ItemTemplate&gt;
  </code></pre>
  
  <p>
  And it also works good. Can any one tell me what is the issue with my first code?</p>
  
  <blockquote>
    <p>Note: I don't have access to the error message due to the special
    reasons  on my project , that's why I have not posted it here.
    And I want to use ASP controls itself on the case that's why i haven't
    gone with my second solution</p>
  </blockquote>