On my page I have:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="siteSettings.aspx.cs" Inherits="APack.admin.siteSettings" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<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>
My code behind is:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace APack.admin
{
public partial class siteSettings : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}
It throws the exception:
Parser Error Message: Could not load type 'APack.admin.siteSettings'.
This was just produced in Visual Studio, right click - > new file. It just doesn't work :( Any ideas?
Have you built the application?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With