The question pauln90 links to is very applicable if you want to share an internet connection, etc.
However if you just want to share files between two computers, you can get an ethernet cable (crossover), and then enable folder sharing for the folders you want to share in windows: