Setting Navigation url to hyperlink dynamically
<p>Im trying to set navigation url to a hyperlink which is inside a gridview.</p>

<p>Im creating the table inside the gridview using a literal in backend c# code.</p>

<p>The code now look like inside GridviewRowDataBound(object sender, GridViewRowEventArgs e)</p>

<pre><code>Literal.Text += "&lt;asp:HyperLink ID='hlContact' runat='server' NavigateUrl='#'&gt;Contact &lt;/asp:HyperLink&gt;";
</code></pre>

<p>I want to set the navidation inside this code</p>

<p>If anyone have an idea it will be helpful</p>

<p>Thanks</p>
