yokzu

yokzu

  • NA
  • 306
  • 0

Cant see the function

Mar 12 2012 4:28 PM
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)