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: CS1061: 'ASP.staffinfo_aspx' does not contain a definition for 'GridView1_Sorting' and no extension method 'GridView1_Sorting' accepting a first argument of type 'ASP.staffinfo_aspx' could be found (are you missing a using directive or an assembly reference?)

Source Error:


Line 31: <div class="style4">
Line 32:   
Line 33:                 <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
Line 34:                             BackColor="#DEBA84" BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" 
Line 35:                             CellPadding="3" CellSpacing="2" DataKeyNames="STAFF_ID" 

Source File: c:\inetpub\vhosts\drsmga.com\jaideeppublicschool.com\Staffinfo.aspx    Line: 33






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