C# .net and ASP -- Need to know how to call the url string from C# code and place it in asp code?
<p>Here is what I have but it's not working.</p>

<p>So instead of having Web Site I would like it to show the actual address coming from the database that's stored in lblWebSite.NavigateUrl</p>

<p>I tried changing it to lblWebSite.Text but that showed the web address, but did not act as a link. Any help would be appreciated. Thanks.</p>

<p>ASP CODE:</p>

<pre><code>&lt;asp:HyperLink ID="lblWebSite" runat="server" Target="_blank"&gt;Web Site&lt;/asp:HyperLink&gt;&lt;/span&gt;
</code></pre>

<p>C# CODE:</p>

<pre><code>this.lblWebSite.NavigateUrl = dvInfo.Table.Rows[0]["Uri"].ToString();
</code></pre>
