Question: I have the following page querystring:

```
 register.aspx?id="jSmith"

```

I have the following code to retrieve the value of ID

```
    string qString = string.IsNullOrEmpty(Request.QueryString["id"]) ? string.Empty : HttpUtility.UrlDecode(Request.QueryString["id"]);

```

When I view the value of qString I get something like

```
    "\"jSmith\""

```

so when I do the following:

```
     if (qString == "jSmith")
     {
        ........

     }

```

it does not not execute the if condition. What do I need to do s that it does not have the quotes.

Answer: 
The code is correct.
The problem is that you are passing to the page `"jSmith"` with the double quotes as part of the string.
Try invoke the page this way

```
register.aspx?id=jSmith

```
You should look for 

```
if (qString == "\"jSmith\"")

```

the `\` is escaping the extra `"` 

or you could perform a replace to remove the extra `"`