Asp.Net does not contain a definition for buttonClick?
问题 I am attempting to build a program on visual studio asp.net but whenever I try to click a button with an OnClick event I get the following error: "CS1061: 'ASP.test_aspx' does not contain a definition for 'buttonClick' and no extension method 'buttonClick' accepting a first argument of type 'ASP.test_aspx' could be found (are you missing a using directive or an assembly reference?)" Here is my HTML for reference: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="test.aspx.cs" Inherits