No. Wi-Fi is by definition a wireless protocol, so a wired link between the DS and your computer is not Wi-Fi at all.
Even setting the definition aside, the operation does not really make sense. The DS's Wi-Fi hardware exists to talk to a wireless access point, and it has no facility for using a cable as a network medium.
What people usually want when asking this is a way to get the DS online through a PC that is itself wired into a router. That is achievable, but not by cable — you need the computer to act as a wireless access point, either through a dedicated USB Wi-Fi dongle in infrastructure mode or by sharing the connection through a wireless adapter. The DS then connects to that broadcast signal normally.
One additional complication worth knowing: the original DS only supports WEP security and cannot join WPA or WPA2 networks. That is the far more common reason an old DS refuses to connect, and it is why so many people ended up having to lower the security on a spare router.