J
just_life
My main .aspx page has a page directive as follows:
"<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Question3.aspx.vb"
Inherits="Question3" CodeFileBaseClass="BasePage" %>"
My App_Code folder has a file named Class1.vb whose contents are:
Imports Microsoft.VisualBasic
Imports System.IO
Imports System.Text
Imports System.Data.OracleClient
Imports System
Imports System.Data
Public Class BasePage Inherits System.Web.UI.Page
Public Shared Function TrimComplete(ByVal sValue As String) As String
Return TrimComplete
End Function
End Class
My codebehind file has the following:
Imports System.IO
Imports System.Text
Imports System.Data.OracleClient
Imports System
Imports System.Data
Partial Class Question3
Inherits BasePage
And I get the error: Parser Error Message: Could not load type 'BasePage'.
Please Help. Whar am I doing wrong?
"<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Question3.aspx.vb"
Inherits="Question3" CodeFileBaseClass="BasePage" %>"
My App_Code folder has a file named Class1.vb whose contents are:
Imports Microsoft.VisualBasic
Imports System.IO
Imports System.Text
Imports System.Data.OracleClient
Imports System
Imports System.Data
Public Class BasePage Inherits System.Web.UI.Page
Public Shared Function TrimComplete(ByVal sValue As String) As String
Return TrimComplete
End Function
End Class
My codebehind file has the following:
Imports System.IO
Imports System.Text
Imports System.Data.OracleClient
Imports System
Imports System.Data
Partial Class Question3
Inherits BasePage
And I get the error: Parser Error Message: Could not load type 'BasePage'.
Please Help. Whar am I doing wrong?