adding text in a cell depending on its value

nutsxiera

Member
Joined
Aug 5, 2010
Messages
7
Programming Experience
1-3
hi there.
i'm new in vb.net

is it possible to add text next to its value in a cell, depending on its value?

as example if the value of the cell is less than 1.00, the box will turn to red color and will be appear.

before:
pic1.gif


after:
pic2.gif


i have successfully color the box and having problem with adding the text.
i'm using gridview & vb.net

i found this code but it's change the text not adding it:
e.row.cells(4).text = "wa"

can anyone help me?
 
Back
Top