Hi
I want to colour the list box items based on a field (status).
suppose if status=pending I want to color it with red
status=ready color it with green
Can anybody please help me with sample code
I am using windows application.
Thanks and regards
venkat
Coloring listbox items
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Niradhip ChakrabortyRank #429 · 5.8K reputationPosted Jun 24, 2009, 9:30 PM EDT
listBox1.Items[i].Attributes.Add("style", "color:red");