如何获取URL Parama作为集合 [英] How toget url parama as collection

查看:55
本文介绍了如何获取URL Parama作为集合的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


如何获取所有通过URI传递的变量,这些URI调用了我的表单(使用collection),仅此而已?

谢谢

Hi
How to get all the variables passed in the URI that called up my form(using collection), and nothing else?

Thanks

推荐答案



你能再解释一下吗?

您正在使用哪个框架?如果您使用的是Webform,则 Request.QueryString [ ^ ]然后它不过是一个收藏.

如果您使用的是MVC,则可以将数据作为模型传递 [ ^ ].
Hi,

Can you explain a little more?

Which framework you are using? If you are using webform then Request.QueryString[^] then its nothing but a collection.

If you are using MVC then you can pass data as a model[^].


这篇关于如何获取URL Parama作为集合的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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