inserting class from codebehind asp.net code example Example: asp.net set css class in code behind classMe.Attributes.Add("class", "some-class")