韩言福地

只有想不到的,没有办不到的。 - HY Auspicious Place

« WinISO5.31 简体中文自动注册破解版本世界上有能喝酒的人吗?没有!只有能扛的人。” »

this.Request.QueryString["LogonID"] 和 this.Request["LogonID"]

this.Request.QueryString["LogonID"]  和 this.Request["LogonID"]

this.Request.QueryString["LogonID"]  是接收 dd.aspx?LogonID=33 的方式

而this.Request["LogonID"] 却是接受 get 和 post 的所有方式. 

如果用this.Request["LogonID"]  获取 get方式的时候

当页面中含有 LogonID控件的时候,就会导致一些错误

今天做一个东西,我明明没有 用 get 传 LogonID  

用 this.Request["LogonID"]  获取的时候缺获取到了. 页面也没有LogonID   控件 .不知道哪里来的.

我也不是用的 post方式.就直接一个页面进去.

觉得很奇怪...

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

日历

最新评论及回复

最近发表

Copyright 2007-2010 www.yinrg.com(HY Auspicious Place) . 湘ICP备06007796号.