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 'SqlConnection' is not defined.

Source Error:


Line 3:      Inherits System.Web.UI.Page
Line 4:  
Line 5:      Dim con As New SqlConnection(ConfigurationManager.ConnectionStrings("con").ToString)
Line 6:      Dim cmd As New SqlCommand("Select top 1 Note from ChairmanNote where IsHidden=0 order by UpdatedOn desc", con)
Line 7:      Dim dr As SqlDataReader

Source File: d:\web\PODC\moff\moffindia.org\wwwroot\Inner\ChairmanNote.aspx.vb    Line: 5





Version Information: Microsoft .NET Framework Version:2.0.50727.9061; ASP.NET Version:2.0.50727.9062