Example #1
0
 public override bool update()
 {
     if (!isValid())
         return false;
     string sqlCommand = String.Format(@"update InnerRoad set prID={0},vID={1},irName='{2}',irPath='{3}' where irID={4}"
         , prID, vID, irName, irPath, irID);
     Sql sql = new Sql();
     return sql.updateInnerRoad(sqlCommand);
 }