棘手的Global 问题

aspx_RICK aspx_RICK 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
2005中的Global.asax 在网站中添加时只有一个文件
但是我现在有二个页要要放在项目中Global.asax 和Global.asax.cs 第二个文件是我加上去了
a.Global.asax 内容如下
<%@ Application Codebehind="Global.asax.cs" Inherits="A.Global" Language="C#" %>
b.Global.asax.cs 页面如下
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.SessionState;
using System.Threading;
using System.IO;
using System.Data.OracleClient;
namespace A
{
public class Global : System.Web.HttpApplication
{

}
}
出现错误

错误 1 未能加载类型“A.Global”。 D:\My Documents\我接收到的文件\CustomerPlatform\CustomerSupport3\Global.asax 1
...全文

相关推荐

评论 1
收藏 已收藏
分享
返回顶部
aspx_RICK
.NET社区 62,272 成员 668,968 内容