private void UpdateStatus(bool complated) { if (DbDataLoader.UpdateContractStatus(ddContract.Text.ToInt(), ddlSolution.Text.ToInt(), complated)) { Bind(); } }
private void UpdateStatus(bool complated) { if (DbDataLoader.UpdateContractStatus(ddContract.Text.ToInt(), ddlSolution.Text.ToInt(), complated)) { Bind(); } else { Response.Write("<script language=javascript>alert('提交失败!')</script>"); } }
private void UpdateStatus(bool complated) { if (DbDataLoader.UpdateContractStatus(Convert.ToInt32((string)DropGetList.Text), Convert.ToInt32((string)ddlSolution.Text), complated)) { //Response.Write("<script language=javascript>alert('提交成功!');</script>"); QueryResult(); Bind(); } else { Response.Write("<script language=javascript>alert('提交失败!')</script>"); } }