Yes, as long as the PC Graphics card has DVI-D output. Most current cards have this.
I routinely use my 23'' Cinema Display on my PC. Of course the card must be able to support the display's resolution also. Most current cards should be able to easily support the 23'' CD but for the 30" CD you have to be carefull.