Пример #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
 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>");
     }
 }