How do I remove a clickable link from asp:Gridview column?

kralking

New Member
I want to remove a clickable link from asp:Gridview column when some condition is true.I tried this:\[code\]Gridview.attributes["disabled"] = "disabled";\[/code\]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?
 
Back
Top