在PHP中,但在Visual Basic中抢$ _GET样的? [英] Grab $_GET like in PHP but in Visual Basic?

查看:133
本文介绍了在PHP中,但在Visual Basic中抢$ _GET样的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个网页浏览器名为WebBrowser1,我希望能够检测到$ _GET像我将能够在PHP,并将其放置在为textLabel

I have a web browser called WebBrowser1 and I want to be able to detect the $_GET like i would be able to in PHP and place it in a Textlabel

一样,如果网址是:

www.example.com/page.php?myget=true

www.example.com/page.php?myget=true

是否有可能到Visual Basic抢什么都在'myget。我在这个有点新的所以请让我知道。

Is it possible to Visual Basic to grab what ever is in 'myget'. I'm a bit new at the this so please let me know.

推荐答案

您可能希望:

Request.QueryString("myget") 

有关查询字符串属性。

的Request.Form()会得到你贴PARAMS

Request.Form() would get you posted params

和Request.Params()将都得到PARAMS。

and Request.Params() will get params from both.

这篇关于在PHP中,但在Visual Basic中抢$ _GET样的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆