How to Colour gridView field

Posted by Amritha444 under ASP.NET on 9/1/2010 | Points: 10 | Views : 1429 | Status : [Member] | Replies : 1
In my Project iam binding some details to Grid view.I want specific fields in Red colour.Binding grid using stored procedure.
eg; im binding variety of fields like PL,LOP,Late...i want the fields Late in red colour ..Is such facility is available in Gridview...
Please give sample coding for that..
Thanks in Advance..




Responses

Posted by: T.saravanan on: 9/1/2010 [Member] [MVP] Silver | Points: 25

Up
0
Down
Hi Amritha444,

http://msdn.microsoft.com/en-us/library/aa479342.aspx

http://www.johnchapman.name/asp-net-c-change-gridview-cell-background-color-based-on-value/

I hope this links are helpful to you.

Cheers :)

Thanks,
T.Saravanan

Amritha444, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response