title: How to fill a web form and submit it
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2071321/how-to-simulate-browser-http-post-request-and-capture-result-in-c-sharp">How to simulate browser HTTP POST request and capture result in C#</a><br>
    <a href="https://stackoverflow.com/questions/6377339/send-post-request-in-c-sharp-like-a-web-page-does">Send POST request in C# like a web page does?</a>  </p>
  </blockquote>
  
  
  
  <p>I'm making a test application in c# and I was wondering how can I fill a webform.</p>
  
  <p>There is just 1 box I want to fill ,Here the details are:</p>
  
  <pre><code>&lt;td&gt;Your name: &lt;/td&gt;
        &lt;td&gt;&lt;input class="text" type="text" name="name" /&gt;&lt;/td&gt;&lt;/tr&gt;
        &lt;tr&gt;&lt;td colspan="2" align="center"&gt;
           &lt;input class="text" type="submit" name="submitBtn" value="Login" /&gt;
  </code></pre>
  
  <p>So basically I would like to take the text of a textBox(its the easy part :)) inside of my WinForms application and put it into the <strong>name</strong> field which is on the url address and then send a request or press the <strong>Login</strong> button.</p>
  
  <p>Is there an easy way to do this?</p>