tags:

views:

37

answers:

1

I was making changes in my .aspx file, when IntelliSense complained:

"LSPForm must be convertible to System.Web.UI.Page". Here's the @Page line I'm using:

<%@ Page AutoEventWireup="true" Codebehind="LSPForm.aspx.cs" Inherits="LSPForm" Language=""C#" MasterPageFile="MasterPage.master" Title="DMV: Marker Plate Notice" %>

The code-behind references .aspx variables that are defined on the .aspx page, but now cause errors of the form: "The name does not exist in the current context," where is a field defined in the .aspx page.

Any help would be appreciated.

+3  A: 

If you did a direct copy and paste, you have too many quotes at the Language.

JasCav