controls.style.Add("css名称","css值") 添加class规则 control.cssclass="str_cssname"; 转载于:https://www.cnblogs.com/ZX-LMY/p/5244725.html