Exemplo n.º 1
0
 private void UpdateStatus(bool complated)
 {
     if (DbDataLoader.UpdateContractStatus(ddContract.Text.ToInt(), ddlSolution.Text.ToInt(), complated))
     {
         Bind();
     }
 }
Exemplo n.º 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>");
     }
 }
Exemplo n.º 3
0
 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>");
     }
 }