In Classical ASP, this process can be done using the following:
Dim xml,strRetrive
set xml = Server.CreateObject("Microsoft.XMLHTTP")
xml.Open "GET", "http://www.abc.com/viewProduct/?productNumber="&sCode , false
xml.Send
strRetrive=xml.responseText
How can we do this in ASP.NET?
Use a
System.Net.WebClient: