public DataSet update_train(int i) //update an existing train { TrainCAD c = new TrainCAD(); DataSet ds = c.updateTrain(this, i); return(ds); }
public void update_Train() { TrainCAD c = new TrainCAD(); c.updateTrain(this); }