Most men do not behave this way. In fact, virtually all men do not behave this way. But there are a scant few, the absolute worst of the worst, that treat women like this.
On behalf of the 99% of men that aren't awful jackasses, I apologize for this terrible experience. If a man ever puts his hands on you like that, he is universally wrong, and hated equally by every decent man or woman.
I think we should use this all as a lesson, though. If you are dancing with a guy, talking with a guy, or otherwise interacting with a guy, and things get nasty, just leave. Don't try to salvage it. Men that behave that badly within the first few minutes of meeting you aren't likely to improve their behavior in the long run. There are plenty of good, decent human beings in the world. Do your best to stick to them.