How to set a CSSClass for a dynamically generated label in asp.net with C#
Label lbl = new Label();
lbl.Text = "Hello World!";
lbl.CssClass = "red_and_bold";
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With