title: I am trying to listen for the enter key on a login page
body: <p>This is what I have sofar. </p>
  
  <pre><code>Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load    
      If e.KeyCode = Keys.Enter Then    
          btnlogin_Click(sender, e)
      End If
  End Sub
  </code></pre>
  
  <p>It is saying that 'Keycode is not a member of system.eventargs.' Also it says that 'Keys is not declared.'</p>
  
  <p>All I want is to listen for the enter key.</p>