I have some html which displays data from my database. Shown below is a line of code that shows if an item is enabled. What I would like to do is set its colour so that it is green when enabled and red when disabled. Can I add some javascript to this line to do this?
<asp:Label ID="ifmgr_ase_enabled" runat="server" Text="<%# DataAdapter.Enabled.ToString() %>" ClientIDMode="Static"/>