I am making an alert using ASP.NET and C# and I would like to change the CSS styling of an ASP.Net element based on the the type of message am passing to the element e.g green label for positive alert or red label for negative alert.
ive using tried Label1.Style.add()
with not success