Are you thinking of a sentence like "I looked at him painfully"? That doesn't necessarily make me think that you don't like the other person. Perhaps you could say "I looked at him distastefully" or "I looked at him in/with disgust".
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.