AdminPage.cs
 1[疑问]继承Page报错using System;
 2[疑问]继承Page报错using System.Data;
 3[疑问]继承Page报错using System.Configuration;
 4[疑问]继承Page报错using System.Web;
 5[疑问]继承Page报错using System.Web.Security;
 6[疑问]继承Page报错using System.Web.UI;
 7[疑问]继承Page报错using System.Web.UI.WebControls;
 8[疑问]继承Page报错using System.Web.UI.WebControls.WebParts;
 9[疑问]继承Page报错using System.Web.UI.HtmlControls;
10[疑问]继承Page报错namespace SecondaryBookShop
11
index.aspx
 1[疑问]继承Page报错using System;
 2[疑问]继承Page报错using System.Data;
 3[疑问]继承Page报错using System.Configuration;
 4[疑问]继承Page报错using System.Collections;
 5[疑问]继承Page报错using System.Web;
 6[疑问]继承Page报错using System.Web.Security;
 7[疑问]继承Page报错using System.Web.UI;
 8[疑问]继承Page报错using System.Web.UI.WebControls;
 9[疑问]继承Page报错using System.Web.UI.WebControls.WebParts;
10[疑问]继承Page报错using System.Web.UI.HtmlControls;
11[疑问]继承Page报错namespace SecondaryBookShop.Admin
12


编译报错:

“/”应用程序中的服务器错误。 分析器错误 说明: 在分析向此请求提供服务所需资源时出错。请检查下列特定分析错误详细信息并适当地修改源文件。

分析器错误信息: “SecondaryBookShop.Admin.index”不扩展类“System.Web.UI.Page”,因此此处不允许。

源错误:
行 1:  <%@ Page language="c#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="SecondaryBookShop.Admin.index" %>行 2:  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">行 3:  <html xmlns="http://www.w3.org/1999/xhtml" >
源文件: /Admin/index.aspx    行: 1

版本信息: Microsoft .NET Framework 版本:2.0.50727.42; ASP.NET 版本:2.0.50727.42

相关文章:

  • 2022-12-23
  • 2021-12-05
  • 2022-03-07
  • 2021-08-07
  • 2021-11-14
  • 2021-10-19
  • 2022-01-16
  • 2021-06-09
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-12
  • 2022-12-23
  • 2021-10-11
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案