why was amendment 17 significant and how were the state governments represented before this amendment?

Before the passage of the 17th Amendment, state legislators elected their senators.

http://en.wikipedia.org/wiki/Seventeenth_Amendment_to_the_United_States_Constitution