How to add two CSS Class to control in the code behind?

前端 未结 4 1363
时光取名叫无心
时光取名叫无心 2021-02-12 11:38

I am setting 2 css class in the code behind in ASP.NET

I could either do:

txtBox.Attributes.Add(\"class\", \"myClass1\");
txtBox.Attributes.Add(\"class\"         


        
4条回答
提交回复
热议问题