views:

136

answers:

2

ASP.Net +C# I have a web page and a GridView in it in my code some where i need to change the color of data it display something like : GridView1.Rows[y].ForeColor = System.Drawing.Color.FromArgb(0, 204, 0); the problem is: i have a hyberlike in some cells of the GridView and when i change the color the change affects onlythe text in cells with no hyberlinks and the hyberlinks still blue. thanks in advance

+1  A: 

put color :inherit; in css class

3bd
A: 

Please see the link below

http://asimsajjad.blogspot.com/2009/09/changing-hyperlink-color-place-in.html

hope you get the answer

Asim Sajjad