16x2 LCD shows only black boxes in the bottom line

The pin numbers are given at the back of the LCD.
i have given the connections based on that ,so i think there is no problem with the connections.