赖葡萄的籽有毒吗:C#的WebApplication(asp.net,VS.net2003环境),在运行的时候出现了一个错误,找不到aspx.cs文件

来源:百度文库 编辑:神马品牌网 时间:2024/04/29 12:25:02
在刚建立完项目之后就弹出来这个对话框:the class file:webform1.aspx.cs specified as the codebehind for webform1.aspx could not be loaded. make sure that the codebehind attribute in the page or control directive properly references an existing code behind file.

.aspx.cs文件在文件视图中根本打不开。

求教!!!

档案类别:WebForm1.aspx.csWebForm1.aspx为特定的codebehind不能装. 确保在codebehind属性页或妥善控制指令参照现行档案,
现在我都在用.net 2005你那个错误我没法去测试,
你可以看看你的.aspx.cs的文件(用文本打开)看能不能看到<%@ Page Language="C#" AutoEventWireup="true" CodeFile="....aspx.cs" Inherits="_Default" %>这样的话