string str = "";
            
int num = 0;
            System.Text.StringBuilder sb 
= new System.Text.StringBuilder();
            num 
= Request.QueryString.Count;
            sb.AppendLine(
"共有"+num.ToString()+"个参数<br/>");
            
foreach(string key in Request.QueryString.AllKeys)
            
{
                sb.AppendLine(
string.Format("Key={0}&nbsp;&nbsp;&nbsp;Value={1}<br/>", key, Request.QueryString[key]));
            }

            Response.Write(sb.ToString());
http://blog.csdn.net/baozhenliang/archive/2007/01/02/1472362.aspx
posted on 2007-06-05 01:19  mbskys  阅读(389)  评论(0)    收藏  举报