Click here to Skip to main content
14,928,959 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I'm a beginner in and I want to change gridview cell background.

I want to change using different three color, depending on cell data text.

if text of gridview cell is "High", I want to set red color, or

if text of gridveiw cell is "Moderate", I want to set yellow color. or

if text is "Low", I want to set Green color.

I binded gridview with Access datasource.

how I have to code & where I have to place code?

virusstorm 18-May-15 14:52pm
Take a look at this:
Sergey Alexandrovich Kryukov 18-May-15 15:45pm
First of all, what do you mean by "GridView"? Which one? Full type name, please.
The phrase "I don't know ASP.NET programing language" suggests that you don't know what is language and what is not, what is a framework, and other general programming issues. If you don't know programming, you should learn it on something much simpler than UI.
If that means that you are not using ASP.NET, what are you using? WPF? Anything else?
Maciej Los 18-May-15 17:49pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900