You may think that, to change the color of the text in a HyperLinkField (in a GridView or DetailsView), all you would need to do was change the ‘ForeColor’ property in the ItemStyle under ‘Styles’. After all, you would change the ‘Bold’ setting (Fonts) in the ItemStyle. However, that’s not where you would do it.
Instead, in the Styles section of the HyperLink properties, you will see that there’s also a ControlStyle section. Open that and you will find a ‘Forecolor’ property there. That is the one you need to change.
All Things DotNet Discussed – Winforms/ASP.Net/SharePoint/WPF