62,072
社区成员
发帖
与我相关
我的任务
分享
public string ApplicationPath
{
get
{
_basePath = this.Request.ApplicationPath;
if (_basePath.IndexOf("/") >= 0 && _basePath.Length == 1)
_basePath = "";
return _basePath;
}
}
<script src="<%=ApplicationPath %>/Script/JScript.js" type="text/javascript"></script>
<script type="text/javascript" src='<%= ResolveUrl("~/Js/jquery-1[1].3.1.js")%>'></script>
<%@ Page Title="" Language="C#" MasterPageFile="~/Layout/Site1.Master" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="Sicent.WxSkper.Main.WebForm1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
</asp:Content>