protected void HiddenField1_ValueChanged(object sender, EventArgs e) { string id = HiddenField1.Value; if (id[0] == 'a') { MySQLServer.confirm(id.Substring(1)); } else { MySQLServer.decline(id.Substring(1)); } Response.Redirect("~/Manage/Orders"); }