Ejemplo n.º 1
0
 public override bool update()
 {
     if (!isValid())
         return false;
     string sqlCommand = String.Format("update Condition set cdName='{0}',cdType={1},cdCategory={2},lID={3},prID={4},cdValue={5} where cdID={6}"
         , cdName, cdType, cdCategory, labelID, prID, cdValue, cdID);
     Sql sql = new Sql();
     return sql.updateCondition(sqlCommand);
 }