If you guys have a friend-ish relationship, then I'd suggest going to the dance with her and telling her your feelings. She might prefer you over her boyfriend, who knows? Just be honest with her, and don't do anything to make her feel bad. Just be a good friend, and sometime she will realize that you are a good person.