1. Sugar is a non electrolyte and when it dissolves in water, there will be no ionisation takes place. If there is no free ions, it does not conduct electricity.
2. When sodium chloride is added to water, it is completely ionised to give Na ions and Cl- ions. Due to the presence of ions, they will be possibility of electhcal conductance. Because ions are carriers of electric current.