asp.net中如何实现asp中的XMLHTTP对象的功能?
function getHTTPPage(url)
dim http
set http=Server.createobject("Microsoft.XMLHTTP")
Http.open "GET",url,false
Http.send()
if Http.readystate<>4 then
exit function
end if
getHTTPPage=bytes2BSTR(Http.responseBody)
set http=nothing
end function
getHTTPPage("http://www.csdn.net")
asp中可以用该方法获取指定url执行以后的结果
asp.net中如何获取呢?