Preheat the oven to 200 degrees. Grease a metal baking sheet measuring 32.5×22.5 cm with oil. Grate the cheese on a coarse grater (you get about 2 glasses).
In a large bowl, combine the flour and the following 4 ingredients.
In a medium bowl, combine cheese, corn, chili, onion, eggs, milk, and melted margarine. Mix with flour mixture. Mix well.
Place the dough on a prepared baking sheet. Bake for 25-30 minutes. Cut the finished cake into 15 pieces, serve warm.