I quit trying to grow corn because of that problem. After every storm I spent hours resetting my corn stalks and packing soil around the roots and lower parts of the stalks. I discovered 2 things - my beautiful soil was too loose to hold the tall heavy stalks, and watering more than farmers do kept the roots shallow. I also had trouble with smut fungus because I watered with an oscillating sprinkler then. I haven't grown corn since.
I do, however, have a wonderful farmer down the road who sells the most fantastic Indiana corn I've ever tasted. (drool!) They are near retirement, though. They've promised to give me a year's warning, so I can make a separate bed just for corn and green bean rotation. They're going to give me all their secrets -
seed name, soil and fertilizer coaching, and watering advice.