There are several ways to do this. The two best are:
1. Get a DVI to HDMI cable. This will allow you to plug directly from your computers DVI to your TV's HDMI.
2. If your computer has an analog (rgb (vga) 15 pin) input, you can simply get a dvi to vga adapter and plug into that port.
Currently, I am using option 2 for my own use.
In the photo below, I point out the HDMI, RGB (VGA), and audio inputs. You must use the audio input but you have a choice of using the HDMI or RGB for video input from your PC. If you have the extra HDMI slots, I would use that. If not, the RGB is fine.