The form must be convertible to System.Web.UI.Page

I made changes to my .aspx file when IntelliSense complained:

"LSPForm must be convertible to System.Web.UI.Page." Here is 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" %> 

Variables with the variable code .aspx defined on the .aspx page, but now lead to form errors: "Name does not exist in the current context", where is the field defined on the .aspx page.

Any help would be appreciated.

+4
source share
1 answer

If you made a direct copy and paste, you have too many quotes in the language.

+3
source

All Articles