Jump to content
Xtreme .Net Talk

Recommended Posts

  • Moderators
Posted

There's not much to say except....

 

http://www.xtremedotnettalk.com/showthread.php?myVar=92046&myOtherVar=hello

 

Start your string after the question (?) mark, the first part is the variable name then an equal (=) sign, the second part is the value.

 

To concat many items together use the ampersand (&).

 

In your code you would receive the string like this...

 

dim s1 as string = string.empty

If not request.querystring("myVar") = nothing then

s = request.querystring("myVar")

end if

 

dim s2 as string = string.empty

If not request.querystring("myOtherVar") = nothing then

s2 = request.querystring("myOtherVar")

end if

Visit...Bassic Software

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...