I forgot my pass code to my ipad 2?

I have a ipad 2 and I stopped using it because i got a iphone so now I want to use it again but forgot pass code to it and I sold the laptop that I use it with so when I try to plug with my new laptop it keeps saying I need to unlock it with the pass code which I clearly dont know

Anonymous2013-07-02T03:09:47Z

The only way is to go on iTunes and restart it but it will erase everything