PC Review


Reply
Thread Tools Rate Thread

.asp?(word)= web pages

 
 
SS
Guest
Posts: n/a
 
      22nd May 2008
Hi

I'm looking at some scripting and one of the many links end in as an example

..asp?Lang=en

How is the created?

I know how to create asp pages and I'm assuming this means it's linked to a
database somehow?

Cheers


 
Reply With Quote
 
 
 
 
Jon Spivey
Guest
Posts: n/a
 
      22nd May 2008
Hi,
That indicates a page that is accepting a parameter through the query
string - it can be used with a database but doesn't have to be. Params are
passed as name/value pairs - ie ?ParamName =
ParamValue&Param2Name=Param2Value.

You can retrieve the value on the .asp page like this
<p>The value of Lang is <%=request.querystring("Lang") %>
which would produce
<p>The value of Lang is en

Once you have value on the page you can do whatever you want with it -
display it, use it to query a database, do a calculation on it etc

Cheers,
Jon


"SS" <(E-Mail Removed)> wrote in message
news:g14205$3s7$(E-Mail Removed)...
> Hi
>
> I'm looking at some scripting and one of the many links end in as an
> example
>
> .asp?Lang=en
>
> How is the created?
>
> I know how to create asp pages and I'm assuming this means it's linked to
> a database somehow?
>
> Cheers
>
>



 
Reply With Quote
 
SS
Guest
Posts: n/a
 
      23rd May 2008
OK thanks I don't suppose you know of any where on the web that there might
be a tutuorial on how to do this do you?

Cheers

"Jon Spivey" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Hi,
> That indicates a page that is accepting a parameter through the query
> string - it can be used with a database but doesn't have to be. Params are
> passed as name/value pairs - ie ?ParamName =
> ParamValue&Param2Name=Param2Value.
>
> You can retrieve the value on the .asp page like this
> <p>The value of Lang is <%=request.querystring("Lang") %>
> which would produce
> <p>The value of Lang is en
>
> Once you have value on the page you can do whatever you want with it -
> display it, use it to query a database, do a calculation on it etc
>
> Cheers,
> Jon
>
>
> "SS" <(E-Mail Removed)> wrote in message
> news:g14205$3s7$(E-Mail Removed)...
>> Hi
>>
>> I'm looking at some scripting and one of the many links end in as an
>> example
>>
>> .asp?Lang=en
>>
>> How is the created?
>>
>> I know how to create asp pages and I'm assuming this means it's linked to
>> a database somehow?
>>
>> Cheers
>>
>>

>
>



 
Reply With Quote
 
Jon Spivey
Guest
Posts: n/a
 
      23rd May 2008
This covers all the basics
http://www.w3schools.com/asp/default.asp

To learn about query strings you want the section covering the request
object which is here
http://www.w3schools.com/asp/asp_ref_request.asp

Cheers,
Jon

"SS" <(E-Mail Removed)> wrote in message
news:g15qqk$ptg$(E-Mail Removed)...
> OK thanks I don't suppose you know of any where on the web that there
> might be a tutuorial on how to do this do you?
>
> Cheers
>
> "Jon Spivey" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>> Hi,
>> That indicates a page that is accepting a parameter through the query
>> string - it can be used with a database but doesn't have to be. Params
>> are passed as name/value pairs - ie ?ParamName =
>> ParamValue&Param2Name=Param2Value.
>>
>> You can retrieve the value on the .asp page like this
>> <p>The value of Lang is <%=request.querystring("Lang") %>
>> which would produce
>> <p>The value of Lang is en
>>
>> Once you have value on the page you can do whatever you want with it -
>> display it, use it to query a database, do a calculation on it etc
>>
>> Cheers,
>> Jon
>>
>>
>> "SS" <(E-Mail Removed)> wrote in message
>> news:g14205$3s7$(E-Mail Removed)...
>>> Hi
>>>
>>> I'm looking at some scripting and one of the many links end in as an
>>> example
>>>
>>> .asp?Lang=en
>>>
>>> How is the created?
>>>
>>> I know how to create asp pages and I'm assuming this means it's linked
>>> to a database somehow?
>>>
>>> Cheers
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
SS
Guest
Posts: n/a
 
      23rd May 2008
Great thanks I'll take a look


"Jon Spivey" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> This covers all the basics
> http://www.w3schools.com/asp/default.asp
>
> To learn about query strings you want the section covering the request
> object which is here
> http://www.w3schools.com/asp/asp_ref_request.asp
>
> Cheers,
> Jon
>
> "SS" <(E-Mail Removed)> wrote in message
> news:g15qqk$ptg$(E-Mail Removed)...
>> OK thanks I don't suppose you know of any where on the web that there
>> might be a tutuorial on how to do this do you?
>>
>> Cheers
>>
>> "Jon Spivey" <(E-Mail Removed)> wrote in message
>> news:%(E-Mail Removed)...
>>> Hi,
>>> That indicates a page that is accepting a parameter through the query
>>> string - it can be used with a database but doesn't have to be. Params
>>> are passed as name/value pairs - ie ?ParamName =
>>> ParamValue&Param2Name=Param2Value.
>>>
>>> You can retrieve the value on the .asp page like this
>>> <p>The value of Lang is <%=request.querystring("Lang") %>
>>> which would produce
>>> <p>The value of Lang is en
>>>
>>> Once you have value on the page you can do whatever you want with it -
>>> display it, use it to query a database, do a calculation on it etc
>>>
>>> Cheers,
>>> Jon
>>>
>>>
>>> "SS" <(E-Mail Removed)> wrote in message
>>> news:g14205$3s7$(E-Mail Removed)...
>>>> Hi
>>>>
>>>> I'm looking at some scripting and one of the many links end in as an
>>>> example
>>>>
>>>> .asp?Lang=en
>>>>
>>>> How is the created?
>>>>
>>>> I know how to create asp pages and I'm assuming this means it's linked
>>>> to a database somehow?
>>>>
>>>> Cheers
>>>>
>>>>
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Word adds blank pages between flow chart pages Kathy Microsoft Word Document Management 1 21st May 2009 05:06 PM
select 1 or more pages from a number of pages of a word file anoop Microsoft Word Document Management 1 14th May 2009 11:42 AM
Web pages I create in Word do not show up as web pages...only html =?Utf-8?B?R3VsbGV5YmFsbA==?= Microsoft Word Document Management 1 24th Jan 2007 12:39 PM
Word prints blank pages when I set 'pages per sheet' Krisztian Milesz Microsoft Word Document Management 1 27th Jul 2005 09:46 AM
How to set some pages portrait some pages landscape in the same word doc? George Microsoft Word New Users 1 7th Jul 2004 09:22 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:42 PM.