Need help with ASP.NET and C#

Discussion in 'ASP.NET / ASP.NET Core' started by abhjos, Sep 7, 2009.

  1. Hello friends,

    I am developing a Web Based application and when I try to compile on the local server I am getting this error message. I do have 'cmdCheckMail_Click' code mentioned the .C# file

    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.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?)

    Source Error:



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


    Source File: d:\Project\Final_PlentyOfFish01\Final_PlentyOfFish01\Index.aspx Line: 272

    Please can anyone help me with this issue.

    Thank you in advance.
    abhay
     
  2. ...Looks like the path may be getting borked.
    Notice in your second recursive folder there is a space in the folder name?
    If that is the way it is on the site, and not a typo, I'd suggest changing that folder name and trying the code again.
    All the best,
    Mark
     
  3. Hello Mark,

    I have changed the folder name and tried the code but still I am getting same error message, can you please help me with this please.

    Thank you,
    abhay
     
  4. ...I can look at the code for you and see if there is anything I might spot.
    ZIP or RAR that code page and any required pages.
    Send them to me here: [email protected]
    I'll do my best. ;-)
    Mark
     

Share This Page