我找到了问题的解决方案,但我仍然遇到此错误。请帮忙
' jquery的'不是有效的脚本名称。该名称必须以' .js'。
结尾<%@ Application Language="C#" %>
<%@ Import Namespace="System.ComponentModel.DataAnnotations" %>
<%@ Import Namespace="System.Web.Routing" %>
<%@ Import Namespace="System.Web.DynamicData" %>
<%@ Import Namespace="System.Web.UI" %>
<script Language="C#" RunAt="server">
void Application_Start(object sender, EventArgs e)
{
//Create application state variables
Application["TotalApplications"] = 0;
Application["TotalUserSessions"] = 0;
//Increment TotalApplications by 1
Application["TotalUserSessions"] = (int)Application["TotalUserSessions"] + 1;
}
void Session_Start(object sender, EventArgs e)
{
//Increment TotalUserSessions by 1
Application["TotalUserSessions"] = (int)Application["TotalUserSessions"] + 1;
}
void Session_End(object sender, EventArgs e)
{
//Decrement TotalUserSessions by 1
Application["TotalUserSessions"] = (int)Application["TotalUserSessions"] - 1;
}
</script>