Question is not allowed here because it does not extend class 'System.Web.UI.Page'

razinkac

New member
Joined
Jul 7, 2013
Messages
3
Programming Experience
Beginner
this is my Income.aspx






HTML:
    <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Income.aspx.vb" Inherits="iplapp.Income" %>        <!DOCTYPE html>



and here my Income.aspx.vb






VB.NET:
    Namespace iplapp
        Public Class Income
            Inherits System.Web.UI.Page
            Private strCon As String = "Data Source=alopex;Integrated Security=true;Initial Catalog=iplmaster;Persist Security Info=True"
            Dim sql_statement As Object
            Dim ViewBag As Object
            'Private Property db As Object
    
    End Namespace
then the result is here




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: 'iplapp.Income' is not allowed here because it does not extend class 'System.Web.UI.Page'.


Source Error:






Line 1: <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Income.aspx.vb" Inherits="iplapp.Income" %>
Line 2:
Line 3: <!DOCTYPE html>



Source File: /iplapp/Income.aspx Line: 1


I do not know what error. thanks so much for reply...
 

Latest posts

Top Bottom