How do I remove a clickable link from asp:Gridview column?
<p>I want to remove a clickable link from asp:Gridview column when some condition is true.</p>

<p>I tried this:</p>

<pre><code>Gridview.attributes["disabled"] = "disabled";
</code></pre>

<p>But the hyperlink is still clickable. I don't want clickable hyperlinks when the grid is disabled. How can I do it in C#.net?</p>
