答案:if (!Page.IsPostBack) yzm(); if (同意.Checked) { this.ImageButton1.Enabled = true; } else { this.ImageButton1.Enabled = false; }
if (同意.Checked) { this.ImageButton1.Enabled = true; } else { this.ImageButton1.Enabled = false; }
上一个:asp.net 连接数据库问题下一个:ASP.NET 配置 Web.config