title: How do you concatenate text when using Bind expression in asp.net
body: <p>What is the syntax to concatenate text into a binding expression for an asp.net webpage (aspx).</p>
  
  <p>For example if I had a hyperlink that was being bound like this:</p>
  
  <pre><code>&lt;asp:HyperLink id="lnkID" NavigateUrl='&lt;%# Bind("Link") %&gt;' Target="_blank" 
                          Text="View" runat="server"/&gt;
  </code></pre>
  
  <p>How do you change, say, the Text to concatenate a bound value with a string?  Variations like this aren't quite right.</p>
  
  <pre><code>Text='&lt;%# Bind("ID") + " View" %&gt;'
  </code></pre>
  
  <p>neither does</p>
  
  <pre><code>Text='&lt;%# String.Concat(Bind("ID"), " View") %&gt;'
  </code></pre>