title: asp.net querystring
body: <p>I have the following page querystring:</p>
  
  <pre><code> register.aspx?id="jSmith"
  </code></pre>
  
  <p>I have the following code to retrieve the value of ID</p>
  
  <pre><code>    string qString = string.IsNullOrEmpty(Request.QueryString["id"]) ? string.Empty : HttpUtility.UrlDecode(Request.QueryString["id"]);
  </code></pre>
  
  <p>When I view the value of qString I get something like</p>
  
  <pre><code>    "\"jSmith\""
  </code></pre>
  
  <p>so when I do the following:</p>
  
  <pre><code>     if (qString == "jSmith")
       {
          ........
  
       }
  </code></pre>
  
  <p>it does not not execute the if condition. What do I need to do s that it does not have the quotes. </p>