Just googled it, so can't take the credit for actually knowing:
Store your corn in cool temperatures, usually around 38 degrees F, the cooler the better. If you wait too long to store your corn, you risk changing the flavor and reducing quality, as sugars begin to convert to starch almost right away in the kernels. You can cool your corn by resting it in crushed ice or placing in a container with ice water. After cooling, place your corn in plastic bags with a few small holes punched in them, and then in the refrigerator for storage. Depending on the variety, it is best to eat your corn within a few days after harvest.