Erasing all of the data on an iPad and restoring it to its factory settings is something you can do from the iPad's settings – provided you remember your passcode. If you don't remember your passcode, ...