Possible Duplicate:
How to simulate browser HTTP POST request and capture result in C#
Send POST request in C# like a web page does?
I'm making a test application in c# and I was wondering how can I fill a webform.
There is just 1 box I want to fill ,Here the details are:
<td>Your name: </td>
<td><input class="text" type="text" name="name" /></td></tr>
<tr><td colspan="2" align="center">
<input class="text" type="submit" name="submitBtn" value="Login" />
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 name field which is on the url address and then send a request or press the Login button.
Is there an easy way to do this?