G
Guest
I am working with an old web application writing new ASP.NET code to replace
functions previously handled by a monolithic ISAPI dll and intercepting some
calls to it. It uses, however, a query string made up of isolated values
(i.e. <value>&<value>& . . .) rather than <name>=<value> pairs.
I have figured out how to get the entire string in order to parse it, but I
have not yet figured out an easy way (easier, that is, than letting it throw
an exception and handling it) to check to make sure the string is not null.
Can anyone point me in the right direction for how best to do this?
Also, if anyone can suggest an easier way to obtain the values than getting
the whole string and parsing it 'manually' that would be helpful, too.
I know this ought to be quite simple once one knows how, but I have been
having a very hard time finding information on how to do it. Everything I
have found concerning Request.QueryString seems to take it for granted that
all query strings are going to be formated as name/value pairs rather than as
an ordered string of values.
Thanks!
All the best,
will
functions previously handled by a monolithic ISAPI dll and intercepting some
calls to it. It uses, however, a query string made up of isolated values
(i.e. <value>&<value>& . . .) rather than <name>=<value> pairs.
I have figured out how to get the entire string in order to parse it, but I
have not yet figured out an easy way (easier, that is, than letting it throw
an exception and handling it) to check to make sure the string is not null.
Can anyone point me in the right direction for how best to do this?
Also, if anyone can suggest an easier way to obtain the values than getting
the whole string and parsing it 'manually' that would be helpful, too.
I know this ought to be quite simple once one knows how, but I have been
having a very hard time finding information on how to do it. Everything I
have found concerning Request.QueryString seems to take it for granted that
all query strings are going to be formated as name/value pairs rather than as
an ordered string of values.
Thanks!
All the best,
will