Hi ! From your history it seems that you have got into a food poisoning
either by eating unhygienic food from outside or by consuming some stored food at home which without your knowledge has become stale. This is why you had cramp in your abdomen followed by nausea
and sweating with dizziness
which possibly was vaso vagal reaction to the sensation of pain due to cramping. It got settled when you went to the floor. At the end you went to bathroom although you did not mention if you had loose stool
or not. Although there are several other causes of cramping abdomen with nausea, I will suggest you to visit your family physician to have on the spot clinical examination of your abdomen and possible antibiotics and antispasmodics if he agrees with my provisional diagnosis. Wishing you an early recovery.