<a runat=server onserverclick="ShowFirst()">test</a>后台protected void ShowFirst(object sender, EventArgs e) { Response.Write("test ok"); }