Question: how are the ions in sodium chloride held together?
Answer: The sodium ions and chloride ions are held together by the strong electrostatic attractions between the positive and negative charges. You need one sodium atom to provide the extra electron for one chlorine atom, so they combine together 1:1.