POSTing Data with ASP.NET
Details Related Types
Site:  ASP Alliance
Original URL:  http://www.aspalliance.com/stevesmith/articles/netscrape2.asp
Summary:
Thanks to Alex Lowe for this updated code. Using the example code listed below, you can easily convert the page scraping code described in the last article to use the POST protocol. This will allow you to submit form information to sites and retrieve the results, which allows for great integration opportunities. We covered the basics of this technique in the last article, so now I'm just going to demonstrate the code.
System.EventArgs
System.IO.StreamReader
System.IO.StreamWriter
System.Net.HttpWebRequest
System.Net.HttpWebResponse
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com