使用net classes访问其他网站内容
来源:互联网 发布:java培训费用要多少 编辑:程序博客网 时间:2024/05/18 02:26
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 728x15, 创建于 08-4-23MSDN */google_ad_slot = "3624277373";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
Sub Page_Load(Src As Object, E As EventArgs)
Try
Dim objResponse As System.net.WebResponse
Dim objRequest As System.net.WebRequest
DIM theurlresult as string
DIM theurl as string = "http://www.funinspace.com"
objRequest = System.net.HttpWebRequest.Create(theurl)
objResponse = objRequest.GetResponse()
Dim sr As new system.io.StreamReader(objResponse.GetResponseStream())
theURLresult=server.HTMLencode(sr.ReadToEnd())
Page.Controls.Add(new LiteralControl(theURLresult))
Catch ex As Exception
Page.Controls.Add(new LiteralControl(ex.Message))
End Try
End Sub
</script>
<html><head>
<title>Scraping A Website</title>
</head>
<body bgcolor="#FFFFFF">
<h3><font face="Verdana">Scraped Data</font></h3>
</body></htm
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 728x15, 创建于 08-4-23MSDN */google_ad_slot = "3624277373";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 160x600, 创建于 08-4-23MSDN */google_ad_slot = "4367022601";google_ad_width = 160;google_ad_height = 600;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<script language="VB" runat="server">Sub Page_Load(Src As Object, E As EventArgs)
Try
Dim objResponse As System.net.WebResponse
Dim objRequest As System.net.WebRequest
DIM theurlresult as string
DIM theurl as string = "http://www.funinspace.com"
objRequest = System.net.HttpWebRequest.Create(theurl)
objResponse = objRequest.GetResponse()
Dim sr As new system.io.StreamReader(objResponse.GetResponseStream())
theURLresult=server.HTMLencode(sr.ReadToEnd())
Page.Controls.Add(new LiteralControl(theURLresult))
Catch ex As Exception
Page.Controls.Add(new LiteralControl(ex.Message))
End Try
End Sub
</script>
<html><head>
<title>Scraping A Website</title>
</head>
<body bgcolor="#FFFFFF">
<h3><font face="Verdana">Scraped Data</font></h3>
</body></htm
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 728x15, 创建于 08-4-23MSDN */google_ad_slot = "3624277373";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 160x600, 创建于 08-4-23MSDN */google_ad_slot = "4367022601";google_ad_width = 160;google_ad_height = 600;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
- 使用net classes访问其他网站内容
- 使用netclasses访问其他网站内容
- 使用netclasses访问其他网站内容
- 用.net实现远程获取其他网站页面内容
- 用.net实现远程获取其他网站页面内容
- .net实现远程获取其他网站页面内容
- .net实现远程获取其他网站页面内容
- 用.net实现远程获取其他网站页面内容
- ASP.net C#获取其他网站的页面内容
- 使用J2EE技术实现其他网站是否正常访问功能
- 使用Apache2.0访问.net网站
- 【.Net码农】用asp.net实现远程获取其他网站页面指定内容
- 使用 .NET 远程处理访问其他应用程序域中的对象
- 使用 .NET 远程处理访问其他应用程序域中的对象
- 用.net实现远程获取其他网站页面内容!(核心代码分析)
- 用.net实现远程获取其他网站页面内容!(核心代码分析)
- 用.net实现远程获取其他网站页面内容!(核心代码分析)
- 用.net实现远程获取其他网站页面内容!(核心代码分析)
- 透析PHP的配置文件php.ini
- 设计 .NET 应用程序,关于多层结构在.Net中的架构(砖贴MSDN)
- 提升PHP执行速度全攻略(下)
- 使用.NET访问Internet(5) Paul_Ni(原作)(补充)
- 提升PHP执行速度全攻略(上)
- 使用net classes访问其他网站内容
- 如何使用动态共享对象的模式来安装PHP
- Creating DataGrid Templated Columns Dynamically -
- 关于Zend Optimizer
- 如何取得动态装载的WEB CONTROL的属性值?
- 定制php4的session功能
- 将xml作为DataGrid 操作(Sort, Edit, Delete)
- 把PHP4安装到Win2000的IIS5中
- 使用.NET访问Internet(5) Paul_Ni(原作)