使用netclasses访问其他网站内容
来源:互联网 发布:八毛门事件 知乎 编辑:程序博客网 时间:2024/06/08 14:44
<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>
<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></html>
<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>
- 使用netclasses访问其他网站内容
- 使用netclasses访问其他网站内容
- 使用net classes访问其他网站内容
- 使用J2EE技术实现其他网站是否正常访问功能
- cross domain 访问其他网站问题
- 使用J2EE技术实现其他网站是否正常访问功能5
- 使用pathon访问网站
- 使用VPN后本机路由表的变化,解决连上VPN后不能访问其他网站的问题
- 用.net实现远程获取其他网站页面内容
- 用.net实现远程获取其他网站页面内容
- .net实现远程获取其他网站页面内容
- .net实现远程获取其他网站页面内容
- 用.net实现远程获取其他网站页面内容
- ASP.net C#获取其他网站的页面内容
- 使用Arcgis Javascript api 访问其他地图
- HttpClient访问其他系统接口使用详解
- 在局域网内让其他电脑访问你的网站
- 局域网其他电脑访问本机iis网站的设置
- C#版的网站新闻发布系统
- 用asp.net画饼图(可用于各种投票程序)
- ASP.NET中动态修改web.config中的设置项目(CS页代码)
- ASP.NET中动态修改web.config中的设置项目(前台代码)
- 饼图的一种画法
- 使用netclasses访问其他网站内容
- ASP.NET的用户控件
- .NET泛型基础
- ASP.NET追捕休整版
- 优秀ASP.NET程序员修炼之路
- 给.net初学者的一些建议(共勉之)
- .Net开发环境配置[OS/IIS/VS...]
- 让Apache支持ASP.NET
- 手把手教你建立ASP.NET开发平台