I tried again, it says "Itunes has detected an iPad in recovery mode. You must restore this iPad before it can be used with iTunes". and the iPad mini has the itunes logo with the USB cord and an arrow on it on the screen. I clciked ok on the computer to shut that message off.
On iTunes it says "Ipad recovery mode. Your software is up to date. Click check for updatr to see if new software is available." The check fo update button is grayed out and the Restore iPad button is available to click. I click on "restore iPad" and a pop up says "Are you sure you want to restore the ipad to its factory settings? All of your media and other data will be erased, and the newest version of the ipad software installed. Itunes will verify the restore with Apple. After this prcess is complete, you will have the option to restore your contact, calendars, text messages, and other settings."
I clicked on "restore and update" and it shows a box with software update 7.0.4 and I click on next. I accept the user agreement and it starts to download the ipad software update.
I wait for the update to install and as I am waiting a box pops up that says "itunes could not connect to the ipad because it is locked with a passcde. You must enter your passcode on the ipad before it can be used with itunes" and it gives me the option to click more information, try again, and cancel.
So what do I do now?