Merge, Request.QueryString 
Author Message
 Merge, Request.QueryString

Hello !

Need some help here!
I need to merge two Request.QueryString into one. Like this

Dim varOne, varTwo, varThree
varTwo = Request.QueryString("besk1")
varThree = Request.QueryString("besk2")
varOne = beskin + casein

I'm going to put this (varOne) into a databas. But want it like this with a
"new line" between the sentences.

Sentence (varTwo)

Sentence(varThree)

Thanks!
Magnus



Thu, 24 Feb 2005 19:30:17 GMT  
 Merge, Request.QueryString
Magnus

x=a+vbcrlf+b

Success depends on your database. Also if you want to show the data in html
later, the success depends on the kind of your element. e.g. /body/ or
/textarea/ behaves differently for new line.

--
Han Pohwan, Seoul/Korea, Microsoft MVP


Quote:
> Hello !

> Need some help here!
> I need to merge two Request.QueryString into one. Like this

> Dim varOne, varTwo, varThree
> varTwo = Request.QueryString("besk1")
> varThree = Request.QueryString("besk2")
> varOne = beskin + casein

> I'm going to put this (varOne) into a databas. But want it like this with
a
> "new line" between the sentences.

> Sentence (varTwo)

> Sentence(varThree)

> Thanks!
> Magnus



Thu, 24 Feb 2005 20:37:47 GMT  
 Merge, Request.QueryString
Hi and thanks!

I use this when viewed with HTML to display a empty line.

<%=Replace((RS.Fields.Item("Name").Value), Chr(13), "<br>")%>

/Magnus



Quote:
> Magnus

> x=a+vbcrlf+b

> Success depends on your database. Also if you want to show the data in
html
> later, the success depends on the kind of your element. e.g. /body/ or
> /textarea/ behaves differently for new line.

> --
> Han Pohwan, Seoul/Korea, Microsoft MVP



> > Hello !

> > Need some help here!
> > I need to merge two Request.QueryString into one. Like this

> > Dim varOne, varTwo, varThree
> > varTwo = Request.QueryString("besk1")
> > varThree = Request.QueryString("besk2")
> > varOne = beskin + casein

> > I'm going to put this (varOne) into a databas. But want it like this
with
> a
> > "new line" between the sentences.

> > Sentence (varTwo)

> > Sentence(varThree)

> > Thanks!
> > Magnus



Thu, 24 Feb 2005 21:05:08 GMT  
 Merge, Request.QueryString
Hi again!

This works just like I wish.
Thanks a lot!

/Magnus



Quote:
> Magnus

> x=a+vbcrlf+b

> Success depends on your database. Also if you want to show the data in
html
> later, the success depends on the kind of your element. e.g. /body/ or
> /textarea/ behaves differently for new line.

> --
> Han Pohwan, Seoul/Korea, Microsoft MVP



> > Hello !

> > Need some help here!
> > I need to merge two Request.QueryString into one. Like this

> > Dim varOne, varTwo, varThree
> > varTwo = Request.QueryString("besk1")
> > varThree = Request.QueryString("besk2")
> > varOne = beskin + casein

> > I'm going to put this (varOne) into a databas. But want it like this
with
> a
> > "new line" between the sentences.

> > Sentence (varTwo)

> > Sentence(varThree)

> > Thanks!
> > Magnus



Thu, 24 Feb 2005 21:11:26 GMT  
 Merge, Request.QueryString
Nice Magnus.

However if you choose /replace/, this is better habit.

x=replace(x,vbcrlf,"<br>")

(instead of)
x=replace(x,chr(13),"<br>")

Because, in the second case, your result still have chr(10) as trash. In
simple scenario, it will not make no trouble. However the chr(10) is unix
new line, or in universal sense, new line itself. In retrieving the result,
or something, there can be unpredictable behavior.

--
Han Pohwan, Seoul/Korea, Microsoft MVP


Quote:
> Hi again!

> This works just like I wish.
> Thanks a lot!

> /Magnus



> > Magnus

> > x=a+vbcrlf+b

> > Success depends on your database. Also if you want to show the data in
> html
> > later, the success depends on the kind of your element. e.g. /body/ or
> > /textarea/ behaves differently for new line.

> > --
> > Han Pohwan, Seoul/Korea, Microsoft MVP



> > > Hello !

> > > Need some help here!
> > > I need to merge two Request.QueryString into one. Like this

> > > Dim varOne, varTwo, varThree
> > > varTwo = Request.QueryString("besk1")
> > > varThree = Request.QueryString("besk2")
> > > varOne = beskin + casein

> > > I'm going to put this (varOne) into a databas. But want it like this
> with
> > a
> > > "new line" between the sentences.

> > > Sentence (varTwo)

> > > Sentence(varThree)

> > > Thanks!
> > > Magnus



Thu, 24 Feb 2005 21:24:15 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. Need more Request.QueryString and Request.Form help

2. Can I Request.form and Request.querystring?

3. QueryString length of mail merge datasource.

4. How to use VBA to send Request QueryString to an ASP page

5. Serializing Request.Querystring

6. NameValueCollection, Request.QueryString, WebForm usage

7. For each sKey in Request.QueryString returns Error 451

8. Request.Querystring

9. Problems with listbox and asp and request.querystring.

10. request.querystring in JavaScript?

11. Request.QueryString

12. Request.QueryString in Jscript?

 

 
Powered by phpBB® Forum Software