When a salt is solid it forms a a crystaline structure and a fixed ionic lattice. This means the ions are stationary and cannot move in the solution and therefore is unable to conduct electricity. However, when dissolved in water, the lattice is broken down, and ions are able to move in solution and therefore able to conduct electricity.