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: CS0103: The name 'GridView1' does not exist in the current context

Source Error:


Line 185:                cmd.Connection = con;
Line 186:                con.Open();
Line 187:                GridView1.DataSource = cmd.ExecuteReader();
Line 188:                GridView1.DataBind();
Line 189:                con.Close();

Source File: g:\pleskvhosts\infoerasoftware.com\prabhushreeschool.com\curriculum.aspx.cs    Line: 187






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