By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,795 Members | 1,251 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,795 IT Pros & Developers. It's quick & easy.

Using C# to submit HTML forms.?

P: 16
I've looked around a bit but I'm not really sure about how to word it. I need to use C# to submit HTML forms and to get a HTML source of the page it's forwarded to so that I can verify that it worked. I'm not sure I'm making too much sense. So I need to be able to submit a form and then see if the next page says "Logged it", basically. If anyone could spot me a link, that would be great.
Oct 5 '09 #1
Share this Question
Share on Google+
2 Replies

Expert 5K+
P: 7,872
Look at the class HttpWebRequest. Specifically check MSDN for the property called "Method", because it will have an example on how to submit form data.
Oct 6 '09 #2

P: 16
Thanks! This is exactly what I was looking for.
Oct 6 '09 #3

Post your reply

Sign in to post your reply or Sign up for a free account.