Heat oven to 400 degrees and prepare chosen pan.
In a medium bowl combine yellow cornmeal and milk. Let sit for about 10 minutes.
In a large bowl combine flour, sugar, salt and baking powder. To that add egg, melted butter, and soaked cornmeal and mix well.
Fold in corn.
Pour batter into prepared pan.
If making muffins bake for 18-20 minutes.
If making in 8 or 9in cake pan bake for 20-25 minutes.
If baking in square muffin pan bake for about 12-14 minutes.
If using pan not listed, but sure to check cornbread at about 10 minutes and determine how much more baking is needed at that time.