我今天开始有很多麻烦......我一直在
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load type 'Webapp5.landing'.
Source Error:
Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="landing.aspx.cs" Inherits="Webapp5.landing" %>
Line 2:
Line 3: <!DOCTYPE html>
这是我背后的代码......
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Webapp5
{
public partial class landing : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}
这是我的页面......
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="landing.aspx.cs" Inherits="Webapp5.landing" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
</div>
</form>
</body>
</html>
我知道我在这里错过了一些简单的东西....但我似乎无法得到这个工作吗? 关于如何让这个页面运行的任何想法?