如何获取html元素内容

时间:2014-09-25 14:47:47

标签: html vb.net web-services

我想问一下,是否有办法让我像网页内容一样。我的意思是: the site the program 您不需要键入站点地址或元素的位置,仅在这种情况下需要它(仅有几个单词的完全空站点)。 我的问题是,wets表示你在网页上有一个文字,你希望该文本出现在文本框中......那就是

1 个答案:

答案 0 :(得分:0)

你可以用这个:

    Dim We As New System.Net.WebClient()
    textbox1.text = We.DownloadString(_Url)
    We.Dispose()