I get Compiler Error Message: CS1061: when i click a report button
<p>I tried adding files to update the application to generate new excel reports on my web application hosted on IIS 7 but i get the error below when i click to generate on the application</p>

<p>Compilation Error<br>
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. </p>

<p>Compiler Error Message:   </p>

<p>CS1061: </p>

<pre><code>'ASP.reportmonthlyreturns_aspx' does not contain a definition for 'btnGenerator_Click'
 and no extension method 'btnGenerator_Click' accepting a first argument of type 
'ASP.reportmonthlyreturns_aspx' could be found (are you missing a using directive or an 
assembly reference?)
</code></pre>

<p>Source Error:</p>

<pre><code>Line 36:             SelectCommand="SELECT distinct year(departure_berth) as year FROM va_voyage_master_tb"&gt;
Line 37:         &lt;/asp:SqlDataSource&gt;
Line 38:         &lt;asp:Button ID="btnGenerator" runat="server" Text="Generate Report" 
Line 39:         class="button round blue image-right ic-right-arrow" onclick="btnGenerator_Click" 
Line 40:          /&gt;    


Source File: c:\inetpub\wwwroot\VoyageApplication\ReportMonthlyReturns.aspx    Line: 38 
</code></pre>
