You go to a class, offer to help a girl and then at some point later (End of the class, etc) you ask for her number. If she says no at any point you leave her alone. What's disrespectful about that if you're genuinely helping her?
Of course if you're leering and won't leave a girl alone that's disrespectful, but taking a class and offering help to attractive girls isn't inherently disrespectful.