title: How to get code behind variable value into repeater itemtemplate
body: <p>I have a variable in my code behind  file in asp.net 
   say 
        string str  = "MY Name";</p>
  
  <p>I want to bind this string to a label that is  inside the  in Repeater.</p>
  
  <pre><code>    &lt;asp:Label  ID="lblsubjects" runat="server" Text='&lt;%# What to  write here %&gt;'/&gt;
  </code></pre>
  
  <p>The Repeater is binded using a linq query.</p>