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

Source Error:


Line 23:               <div class="form-group"> 
Line 24:    
Line 25:                <asp:GridView ID="GrdvwFiles"  runat="server" AutoGenerateColumns="False" Width="100%" BackColor="White" BorderColor="#CC9966" BorderStyle="None" BorderWidth="1px" CellPadding="7" DataSourceID="SqlDataSourceListOfFiles" AllowPaging="True" AllowSorting="True" CellSpacing="5" OnSelectedIndexChanged="GrdvwFiles_SelectedIndexChanged"   >
Line 26:                    <Columns>
Line 27:                        <asp:BoundField DataField="FileID" HeaderText="FileID" InsertVisible="False" ReadOnly="True" SortExpression="FileID" HeaderStyle-CssClass="HideControl"  ItemStyle-CssClass="HideControl"  >

Source File: C:\Inetpub\vhosts\mpuleg.gov.za\httpdocs\careers.aspx    Line: 25





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