Click to See Complete Forum and Search --> : QueryString


pt3
03-13-2000, 04:20 PM
Is there any way to find possible spaces in a data field that will be collected
and put into a querystring?

I am using interdev to display a data grid
and some of the productNames have a space ( "Skin Care" )
and when i send that querystring to the shopping cart it doesnt
work...its adds "Skin", and then skips the $$ amount which comes in a second
querystring

please help

thanks

Mediratta
03-13-2000, 10:52 PM
"pt3" <pt3@clandhr.com> wrote:
>
>Is there any way to find possible spaces in a data field that will be collected
>and put into a querystring?
>
>I am using interdev to display a data grid
>and some of the productNames have a space ( "Skin Care" )
>and when i send that querystring to the shopping cart it doesnt
>work...its adds "Skin", and then skips the $$ amount which comes in a second
>querystring
>
>please help
>
>thanks

Try using URLEncode(). I have never tried using it but have read about it.
It is used in situatiuons like yours where
you need to differentiate between blank space and space within a string.
URLEncode converts your space
within your string to another format which is recognized at the server.

This should work.

Rohit Mediratta