Have you got them connected via a router or something? The console and the PC need IP addresses in the same range.
EDIT: Have you also got the WMC service running correctly on your PC, allowed the Xbox 360 to access it and shared any folders you want? You should have a little icon in the system tray indicating the current status of things.