How To Set Background Color To Controls?

By Goniey N (Mr. G)

To Set Background Color At Code Behind For Controls...



Suppose In Your Form There Is One Lable & You Want To Set Background Color For That Then :

lblUserName.Attributes.Add("style", "background-color:Maroon");

How To Set Background Color To Controls?  (910 Views)