Asp.net <;%@页面语言=";“C”;AutoEventWireup=";“真的”;代码文件="&引用;继承=""E;%&燃气轮机;
我试图运行我的应用程序,它给我错误:Asp.net <;%@页面语言=";“C”;AutoEventWireup=";“真的”;代码文件="&引用;继承=""E;%&燃气轮机;,asp.net,Asp.net,我试图运行我的应用程序,它给我错误: Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl). 请告诉我此标记中此inherits参数的用法?您似乎缺少CodeFileBaseClass属性,该属性应指向您的基类 <%@ Page la
Make sure that the class defined in this code file matches the 'inherits' attribute, and
that it extends the correct base class (e.g. Page or UserControl).
请告诉我此标记中此inherits参数的用法?您似乎缺少CodeFileBaseClass属性,该属性应指向您的基类
<%@ Page language="c#" Inherits="University.AspNet.Index" CodeFile="Index.aspx.cs" CodeFileBaseClass="XXXXXX" %>
- CodeFileBaseClass
为页及其关联的代码隐藏类指定基类的路径。此属性是可选的,但当使用它时,代码文件属性也必须存在李>