I am getting a parser error:
"Could not load type 'TPFA.survey'."
From this line:
<%@ Page language="c#" CodeBehind="Survey.aspx.cs" AutoEventWireup="false" Inherits="TPFA.survey" %>
I try removing the Inherits, but it gets added back in every time I save.
The code behind module looks like this:
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
namespace TPFA
{
/// <summary>
/// Summary description for _default.
/// </summary>
public class survey : System.Web.UI.Page
{
protected System.Web.UI.WebControls.CheckBox Checkbox1;
protected System.Web.UI.WebControls.CheckBox Checkbox2;
protected System.Web.UI.WebControls.CheckBox Checkbox3;
etc., etc.
I'm very new to ASP (but not to .NET) and I have no idea what is going on here. I have other pages on the site (I'm trying to maintain/add to a site that I didn't create) that use the same general code (only the names are different), and those pages work fine.
Can someone explain this to me?
I used to rock and roll every night and party every day. Then it was every other day. Now I'm lucky if I can find 30 minutes a week in which to get funky. - Homer Simpson
"Could not load type 'TPFA.survey'."
From this line:
<%@ Page language="c#" CodeBehind="Survey.aspx.cs" AutoEventWireup="false" Inherits="TPFA.survey" %>
I try removing the Inherits, but it gets added back in every time I save.
The code behind module looks like this:
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
namespace TPFA
{
/// <summary>
/// Summary description for _default.
/// </summary>
public class survey : System.Web.UI.Page
{
protected System.Web.UI.WebControls.CheckBox Checkbox1;
protected System.Web.UI.WebControls.CheckBox Checkbox2;
protected System.Web.UI.WebControls.CheckBox Checkbox3;
etc., etc.
I'm very new to ASP (but not to .NET) and I have no idea what is going on here. I have other pages on the site (I'm trying to maintain/add to a site that I didn't create) that use the same general code (only the names are different), and those pages work fine.
Can someone explain this to me?
I used to rock and roll every night and party every day. Then it was every other day. Now I'm lucky if I can find 30 minutes a week in which to get funky. - Homer Simpson