こんにちは、aspx.cs を実行しようとすると、このエラーが発生します。
protected void btnsaveandclose_Click(object sender, EventArgs e)
{
try
{
save();
}
catch (Exception ex)
{
}
}
aspx は次のとおりです。
<asp:button id="btnsaveandclose" runat="server" text="save & close"
CausesValidation="true" onclick="btnsaveandclose_Click()"
usesubmitbehavior="false">