Ishey4
Ishey4

Reputation: 327

Page Directives Inherits

i am having lots of trouble getting started today... i keep getting

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>

here is my code behind....

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)
        {

        }
    }
}

and here is my page...

<%@ 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>

i know i am missing something easy here.... but i just cant get seem to get this working? any ideas on how to get this page to run?

Upvotes: 0

Views: 728

Answers (0)

Related Questions