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: CS0246: The type or namespace name 'SqlCommand' could not be found (are you missing a using directive or an assembly reference?)

Source Error:


Line 50:         string title = "";
Line 51: 
Line 52:         SqlCommand comm = new SqlCommand();
Line 53:         comm.CommandText = "SELECT [Title], SchoolID, SportID, [SchoolName]   ";
Line 54:         comm.CommandText += "	, [Division], [ConferenceName], [District], DistrictName, SportName, Season ";

Source File: D:\www\isn\idahosports.com\preview\2122\football\Default.aspx.cs    Line: 52






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