I use a PC connected to a Samsung TV for catch up TV.
Mine uses a normal size HDMI connector both ends.
You may have to tell the TV that it is a PC you are attaching and you may need to tell the PC that you want the sound to go through the HDMI cable - I had to - read the manual.
If your PC only has a DVI output, you can get a DVI/HDMI cable (or just a converter) but you also need to use the green speaker out connector, with a suitable cable, to the TV sound jack.
Mine works perfectly but it will depend on how good your graphics card is - most modern ones should be OK.
You may have to adjust the resolution (I use linux but windoze may do it automatically) and if the PC output is larger/smaller than the TV area (black border or bottom bar not visible) this can all be adjusted to fit (google is your friend).