The Brainliest Answer!
Ionic compounds are composed of two elements with high degrees of electronegativity, such as elements in group 1 or 2 and group 17, the halogens.  A good example would be sodium chloride, NaCl, good old table salt.  The ionic bond between the sodium and the chlorine is so strong, you would have to heat a sample to 801 degrees Celsius to get the sample to melt.  That is 8 times the boiling point of water!  When sodium chloride is in its solid state, there are no available electrons that may be shifted to facilitate the conduction of electricity.  That is why solid ionic compounds will not conduct electricity.  One may, however, take that same sample of sodium chloride, and dissolve it into water, making salt water.  The ions will separate into the molecules of water, having sodium ions (Na+) and chlorine ions (Cl-), which will conduct the flow of electrons and produce an electrical flow.
2 5 2
from were u find this answer
from my book
in chemistry NCERT was good
  • Brainly User
Ionic compounds when are in solid states do not conduct electricity .they are all in fixed positions .on the other hand when ionic compound melts they become free to move about and conduct electricity ,,,,,,,,,,,,,,,,,,,,,,,,,,,

NOTE :- electrons flow opposite to the direction of current ,,,

I hope u r satisfied if u like to mark me for this please mark it according to the answer
2 3 2