The reason your iPad might not be connecting to a closed network is that you might have typed in the wrong network connection or the wrong password in the dialog box.
You may not have the right network either. Make sure that you have the exact name of the closed network and the correct password before entering the details in the dialog box.