You should dry the cobs, shuck the kernels off and keep it in a dry place. That way you can grind it when you need it.
Also, you can soak whole kernels in water overnight, then boil them with sifted wood ash for an hour and a half to two hours. The ration should be about a spoonful of ash per cup of corn. The process is called nixhimizing and it is said to greatly increase the nutritional value of dried corn. Rinse the wood ash off and eat it raw or in chowder. It should have the consistency of a firm (not crunchy) cooked bean. They are delicious and addictive!
Enjoy, Ethan