On this tutorial, we will show you how to connect a basic 16×2 LCD to your Arduino. In the LCD datasheet we can check the correct pins of your display. Connect it like the picture above.
Behind your display, we can see the pin numbers, from 1 to 16. To turn the backlight on, connect the pin 15 to 5V and the 16 to GND.
More details please refer to http://garagelab.com/profiles/blogs/tutorial-basic-16×2-lcd-with-arduino