1
Answer

Cant see the function

yokzu

yokzu

12y
1.2k
1
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?)
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.
Answers (1)