예제 #1
0
 private void UpdateStatus(bool complated)
 {
     if (DbDataLoader.UpdateContractStatus(ddContract.Text.ToInt(), ddlSolution.Text.ToInt(), complated))
     {
         Bind();
     }
 }
예제 #2
0
 private void UpdateStatus(bool complated)
 {
     if (DbDataLoader.UpdateContractStatus(ddContract.Text.ToInt(), ddlSolution.Text.ToInt(), complated))
     {
         Bind();
     }
     else
     {
         Response.Write("<script language=javascript>alert('提交失败!')</script>");
     }
 }
예제 #3
0
파일: index.aspx.cs 프로젝트: zhukaixy/Scut
 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>");
     }
 }