Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30002: Type 'Hostel' is not defined.

Source Error:


Line 11: 
Line 12:     Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Line 13:         Dim MyHostel As New Hostel(Page.RouteData.Values("hostelName").ToString)
Line 14:         hostelID = MyHostel.HostelID
Line 15: 

Source File: C:\WebSites\Ehostel 3.0\OnlineBooking\MasterPage.master.vb    Line: 13






Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3062.0