How do I connect my iPad to Apple TV?
To do what? Control the Apple TV? If that's what you mean, the instructions are in the article from which you came. Where are you encountering difficulties?
If you mean you want to play content from your iPad through your Apple TV, see:
Retrieving data ...