string sty= "";
sty= "<link href=/"../../../theme/" + xx+ "/style.css/" rel=/"stylesheet/" type=/"text/css/" />";
Page.RegisterClientScriptBlock("CommonStyle", sty);
这种方法还是很实用的
ASP.NET中动态加载样式表
最新推荐文章于 2024-07-09 00:22:30 发布
string sty= "";
sty= "<link href=/"../../../theme/" + xx+ "/style.css/" rel=/"stylesheet/" type=/"text/css/" />";
Page.RegisterClientScriptBlock("CommonStyle", sty);
这种方法还是很实用的