Lower and Replace in GridView Template Column
<p>How do you lower Eval("ThreadTitle") and replace empty spaces with '-' character in a Template Column in a GridView</p>

<pre><code> &lt;asp:HyperLink ID="lnkTitle" runat="server"
 NavigateUrl='&lt;%# "/" + Eval("ThreadID") + "/" +  Lower(Eval("ThreadTitle")) + "#" + Eval("LastPostID") %&gt;' Text='&lt;%# Eval("LastPostTitle") %&gt;'&gt;&lt;/asp:HyperLink&gt;
</code></pre>

<p>The answer is ((string)Eval("ThreadTitle")).ToLower().Replace(" ", "-") 
i just figured it out</p>
