Is this is an iPad owned by your employer and/or set up with an enterprise email and exchange server? If so, it might have a restriction which is prohibiting disabling the passcode. The only way to turn off the passcode if that's the case is to disable the exchange service access to email.
If it's not an employee iPad, just try rebooting and then disabling the passcode.