I have asp:Table
with number of asp:Label
inside asp:FormView
, it represents short stats info.
I need to set Label.CssClass
to "red" if it's text isn't "0".
Currently I do this on FormView.DataBound
event. But think that it's better to use JavaScript
and probably jQuery
. How can I do that?
Sorry for dummy question - I'm new to jQuery. Thanks!