0

this is my Income.aspx

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Income.aspx.vb" Inherits="iplapp.Income" %>

<!DOCTYPE html>

and here my Income.aspx.vb

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;User ID=nizar;Password=password"
        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

1
Contributor
1
Reply
15
Views
4 Years
Discussion Span
Last Post by razinkac
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.