Preheat your oven to 350°F (175°C). Grease a 9×13 inch baking dish and set aside.
In a large mixing bowl, whisk together the cornmeal, flour, baking powder, and salt.
In another bowl, whisk together the milk, eggs, and melted butter until well combined.
Pour the wet ingredients into the dry ingredients and mix until just combined.
Fold in the creamed corn, whole kernel corn, and sour cream until evenly distributed.
If using, fold in the shredded cheddar cheese.
Pour the batter into the prepared baking dish, spreading it out evenly with a spatula.
Bake in the preheated oven for 45-50 minutes, or until the top is golden brown and a toothpick inserted into the center comes out clean.
Let the casserole cool for a few minutes before serving. Cut into squares and enjoy!