Click here to Skip to main content
15,890,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have layout template and there is table in it..
now I Bind data from database to list view.
I have member type table in database.
int that there is member type and member name are two field.

I want to color table as per data i got from database.
Means if I got Silver member type than I want to color table as red and if I got Gold member type than I want to display them as different color...

Thnks in advance...
Posted

1 solution

Look at how and what all Listview provides here[^].

You need to write code in the following event[^].
Trap the member type and then based on that give the desired color.
 
Share this answer
 
Comments
keshu keshvala 6-Sep-10 5:29am    
thnks for your response....


i am new to asp please explain how to do this cause i have tried but i cant find exact solution...
]

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