Hi
I have a code that must be run ONLY IF a user posts data into a form. Posting data can be made aether by pressing submit button or pressing enter on keyboard, so here is the issue. So in short I need a translation of this php code if there is such translation in asp . net of course.

PHP Code:
if($_SERVER['REQUEST_METHOD'] == 'POST'