Preheat the oven to 450 degrees F.
Stir together the corn, flour, salt, sugar, and butter. Beat the eggs well. Mix in the milk, then stir in the corn, and pour the mixture into a greased 8 by 8-inch baking dish. Bake for about 40 to 45 minutes.