Exemple #1
0
 public override bool update()
 {
     if (!isValid())
         return false;
     string sqlCommand = String.Format("update Project set pName='{0}',pPath='{1}',pBaseMapIndex={2} where pID={3}"
         , pName, pPath, pBaseMapIndex.ToString(), pID.ToString());
     Sql sql = new Sql();
     return sql.updateProjectAndMap(sqlCommand);
 }