继续往下走就不是null。
否则 ToString 的时候早就崩溃了。

解决方案 »

  1.   

                    string echoStr = Request.QueryString["echoStr"];
                    if (!string.IsNullOrEmpty(echoStr))
                    {                }
      

  2.   

    怎么赋其他的值,谢谢了。
    你楼上的就行了,赋其他的值是看你能拿到什么值
    if (String.IsNullOrEmpty(echoStr))
                {
                    Response.Write("is null ");
                }
                else 
                {
                    
                }