In `Gridview RowDataBound` I am disabling hyperlink based on its value. But hyperlink text is grayed out.  

I want to change the fore color of the disabled hyperlink, so that I can read text easily. 

I tried as mentioned below. 

```
protected void gridResult_RowDataBound(object sender, GridViewRowEventArgs e) 
{       
    var hyperlink = e.Row.FindControl( "hlink" ) as HyperLink;
    if( hyperlink!= null && hyperlink.Text =="ABC" )
    {
        hyperlink.ForeColor = Color.Black;
        hyperlink.Enabled = false;
    }
}

```