For the connection we can look at this picture:
You connect the D0-D7 pins to some port in your microcontroller and also RS, R/W, E, CS1 and CS2 to your microcontroller pins. You might want to control reset also.
Are you using C ?
Here's some example code from this forum:
http://www.skippari.net/phpBB2/viewtopic.php?t=483
This post had some info on KS0108:
http://www.skippari.net/phpBB2/viewtopic.php?t=554
There might be more example code in this forum and using google you can probably find much more.