GG, but next time wait until you get back into the Wifi Room before you d/c. That way, your opponent still gets the win on their record while you don't have to have the loss recorded on yours. As long as you don't leave the Wifi Room and save in the Pokemon Center basement, your record will remain unchanged.
So basically, in this battle, you d/c'ed at the "do you want to play ____ again" screen, so now we both don't have the battle recorded on our records. Which probably is good for you, but bad for your opponent. Just be a little more considerate next time.