title: Read data from a text box in asp.net and display it in another web page
body: <p>I am new to ASP.net . I am trying to work with basic web forms.
  I created code to take first name and last name from user. When user clicks on submit, I need the data to be displayed on another page. Can someone make the code for me that should be written on the output web page?</p>
  
  <p>My Code is : </p>
  
  <pre><code>&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head runat="server"&gt;
      &lt;title&gt;My First web page&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;form id="form1" runat="server" action="WebFormOutput.aspx" &gt;
      &lt;div style="position:absolute"&gt;
      &lt;input type="text" name="txtFirstName" placeholder="Enter Your First Name" /&gt;
      &lt;input type="text" name="txtLastName" placeholder="Enter Your Last Name"/&gt;
          &lt;input id="Submit1" type="submit" value="submit" /&gt;
      &lt;/div&gt;
      &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Thank You</p>