Skip to content

Cant see the function

yokzu

Asked Mar 12, 2012, 12:28 PM EDT1 answer
Share
LinkedInX
Hi,
I am working on a web project. I insert the controls on "default.aspx" page and write the functions on "default.aspx.cs" file. But when I build, I am getting this error ;

----------------------------------------------
Compiler Error Message: CS1061: 'ASP.default_aspx' does not contain a definition for 'komut_update' and no extension method 'komut_update' accepting a first argument of type 'ASP.default_aspx' could be found (are you missing a using directive or an assembly reference?)
SQL
Line 22:     <asp:DataGrid ID="DataGrid1" RUNAT="server" AutoGenerateColumns="False"  OnUpdateCommand="komut_update" OnEditCommand="komut_edit"
----------------------------------------
I wrote all the functions "komut_update","komut_edit" in default.aspx.cs file.

What should be the reason of error?

Regards.

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    These codes solved the problem. Thanks.

    AutoEventWireup="true" CodeFile="Default.aspx.cs"
    0