While studying, I ran my own business for almost two years.
This sounds natural to me, but my friend claims that the continuous form ("I was running") is gramatically correct. Which is it?
PS. In case it matters, this is in the context of a resume, so the idea is to sound formal.