Yep. However, try this experiment to see what's happening. Boot your computer first and then turn on your unspecified model DLink router. This is the wrong order and sequence but I'm trying to create the "no surf" problem. You should NOT be able to surf if things are screwed up the way you describe.
Now, open a DOS window with: Start -> Run -> cmd and run: ipconfig
If ipconfig says your IP address is: 169.254.xxx.xxx then DHCP did not assign an IP address to your computer. This is my guess as to the cause of the problem.
If ipconfig says your IP address is: 0.0.0.0 wait a while. It's busy trying to assign an IP address.
If it says your IP address is: 192.168.0.xxx then your router is working and DHCP has assigned you a proper IP address.
Now, run: ipconfig /release wait about 10 seconds ipconfig /renew wait about 10 seconds ipconfig
If ipconfig now says your IP address is 192.168.0.xxx, then you just "fixed" the problem by forcing the router to renew the DHCP assigned IP address. You can do this safely without requiring that you reboot your computer to get things working. You should be able to surf the internet at this point.