Esempio n. 1
0
 /// <summary>
 /// 加载CSS样式文件
 /// </summary>
 public static string CSS(string cssPath, System.Web.UI.Page p)
 {
     return @"<link href=""" + p.ResolveUrl(cssPath) + @""" rel=""stylesheet"" type=""text/css"" />" + "\r\n";
 }
Esempio n. 2
0
 /// <summary>
 /// 加载javascript脚本文件
 /// </summary>
 public static string JS(string jsPath, System.Web.UI.Page p)
 {
     return @"<script type=""text/javascript"" src=""" + p.ResolveUrl(jsPath) + @"""></script>" + "\r\n";
 }