How to access a c# variable's value in an .aspx page and use it inside String.Concat method?
<p>Hi I have this in my code behind:</p>

<pre><code>string input = Request.Url.AbsoluteUri;
string output = input.Substring(input.IndexOf('=') + 1);
</code></pre>

<p>This is my .aspx page:</p>

<pre><code>&lt;asp:TemplateField ShowHeader="False" HeaderText="Some text"&gt;
   &lt;ItemTemplate&gt;
     &lt;asp:TextBox ID="txtUrl" Text='&lt;%# String.Concat(@"\Uploads\",Eval("text")) %&gt;' runat="server" onclick="javascript:this.select();"&gt;&lt;/asp:TextBox&gt;
   &lt;/ItemTemplate&gt;
&lt;/asp:TemplateField&gt;
</code></pre>

<p>And I need to do this:</p>

<pre><code>&lt;asp:TemplateField ShowHeader="False" HeaderText="Some text"&gt;
   &lt;ItemTemplate&gt;
     &lt;asp:TextBox ID="txtUrl" Text='&lt;%# String.Concat(@"\Uploads\",output,Eval("text")) %&gt;' runat="server" onclick="javascript:this.select();"&gt;&lt;/asp:TextBox&gt;
   &lt;/ItemTemplate&gt;
&lt;/asp:TemplateField&gt;
</code></pre>

<p>- As you can see, I need to create custom "path" in textbox using string.concat joining <strong>\Uploads\</strong> + value of variable <strong>output</strong> + <strong>Eval("text")</strong></p>

<p>Thank you very much in advance!</p>
