title: why dose Request.Form["key"] not working?
body: <p>I am trying to make c# ASP.net code that when I press on the submit form button it will show a table with the form's answers.
  My only problem is when I'm pressing the submit button nothing happens... 
  can you please tell me where is my problem?
  Here is my C# code:</p>
  
  <pre><code>public string st = " ";
  
      protected void Page_Load(object sender, EventArgs e)
      {
        if (Request.Form["submit"] != null)
        {
          st += "&lt;table dir = 'ltr' align = 'center' border = '1'&gt;";
          st += "&lt;tr&gt;&lt;th colspan = '2' align = 'center'&gt; form results &lt;/th&gt; 
                 &lt;/tr&gt;";
          string uName = Request.Form["uName"];
          string Pass = Request.Form["Pass"];
          string eMail = Request.Form["eMail"];
          st += "&lt;tr&gt;&lt;td&gt; User Name: &lt;/td&gt;&lt;td&gt;" + uName + "&lt;/td&gt;&lt;/tr&gt;";
          st += "&lt;tr&gt;&lt;td&gt; Password &lt;/td&gt;&lt;td&gt;" + Pass + "&lt;/td&gt;&lt;/tr&gt;";
          st += "&lt;tr&gt;&lt;td&gt; eMail &lt;/td&gt;&lt;td&gt;" + eMail + "&lt;/td&gt;&lt;/tr&gt;";
          st += "&lt;/table&gt;";
         }
      }
  </code></pre>
  
  <p>And here is the line from .aspx code:</p>
  
  <pre><code>&lt;/table&gt;
  &lt;% Response.Write(st); %&gt;
  </code></pre>
  
  <p>this is the top of the aspx page:</p>
  
  <pre><code>&lt;%@ Page Title="" Language="C#" MasterPageFile="master.master" 
      AutoEventWireup="true" CodeFile="Register.aspx.cs" Inherits="mainMasterPage.Register" %&gt;
  </code></pre>
  
  <p>Thanks! <br/>
  Tal</p>
  
  <p><em>FIXED</em></p>
  
  <p>instead of type <code>Request.Form["..."]</code>
  I type <code>Request["..."]</code>
  and thats it!
  Thank you all</p>