I am working on the ASP.NET with C# on the Web based project and I am having the compliation error
<p>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. </p>

<p>Compiler Error Message: CS1061: 'ASP.index_aspx' does not contain a definition for 'cmdCheckMail_Click' and no extension method 'cmdCheckMail_Click' accepting a first argument of type 'ASP.index_aspx' could be found (are you missing a using directive or an assembly reference?)</p>

<p>Source Error:</p>

<pre><code>Line 270:                                &lt;tr&gt;
Line 271:                                  &lt;td align="right" colspan="2"&gt;
Line 272:                                      &lt;asp:Button ID="cmdCheckMail" runat="server" Text="Check Mail" OnClick="cmdCheckMail_Click" Height="22px" Width="90px" /&gt;
Line 273:                                    &lt;/td&gt;
Line 274:                                &lt;/tr&gt;
</code></pre>
