A
Alex
I have a question about determining if one QueryString keys exists. The idea is, if this key exists, than its presence is enough to indicate that its value is true. For example ...
www.something.com/main.aspx?client
Client is the QueryString, but no value is given. This would mean to me that client exists, so its value is true. In the code behind, I can tell that client exists using Request.QueryString.Keys.Count, which equals 1. QueryString["client"] is null, QueryString.Keys[0] is null, QueryString.Keys["client"] is null, Request.QueryStingText = "client", ect.
I cannot seem to find a way to determine if a QuerySting exists when it has no value assigned to it. Any ideas?
Thanks,
Alex
www.something.com/main.aspx?client
Client is the QueryString, but no value is given. This would mean to me that client exists, so its value is true. In the code behind, I can tell that client exists using Request.QueryString.Keys.Count, which equals 1. QueryString["client"] is null, QueryString.Keys[0] is null, QueryString.Keys["client"] is null, Request.QueryStingText = "client", ect.
I cannot seem to find a way to determine if a QuerySting exists when it has no value assigned to it. Any ideas?
Thanks,
Alex