Click to See Complete Forum and Search --> : ASP page
shvonne
July 26th, 1999, 02:45 AM
example1. <a href="/e-BIZwebSample/CatalogResellersGrid.asp?WebGridActionString=NavBar_1&WebGridInitialized=True"></a>
example2. <a href="/e-BIZwebSample/CatalogResellersGrid.asp></a>
what is the different between the 1. and 2.??
why there is a string after the '?' at the example1 and what it is for?
Lothar Haensler
July 26th, 1999, 02:56 AM
the difference is that the second example is invalid, because the closing yuotes in your href are missing. Just kidding :-)
the stuff after the "?" are parameters that you can easily access in your ASP using the Request.QueryString method.
as = request.Querystring("WebGridActionString")
' will contain "NavBar_1"
shvonne
July 26th, 1999, 04:00 AM
hai lothar....
but why example1 and example2 show different page? normally when we set the link, the page is end with either '.asp' or '.html'..
how am i going to create a web page with a url that same like example1???
thanks again for the info...
^o^..shvonne... glad to see the word 'just kidding'... =)
Lothar Haensler
July 26th, 1999, 04:28 AM
that's probably because the ASP responds differenly, depending on the parameters passed.
It could look like this:
if request.Querystring ("Web..." ) <> "" then
response.redirect "some other page"
end if
or the ASP could just create a different output depending on the parameters passed.
shvonne
July 26th, 1999, 04:41 AM
ic... it wipe out the '???' sign in my head.. thanks a lot...
oh ya, do u know how to show a graph in ASP page base on the data in database? is it just same like what we are doing in visual basic?? if i use VB to generate the graph, can i view it in the browser which didn't support VBscript?
^o^...
Lothar Haensler
July 26th, 1999, 04:46 AM
there are several ways to create a graph and show it in an ASP
- use third party COM components that allow to create graphs in your ASP based VBScript code.
check out http://www.15seconds.com
- write your own server based COM component in VB and use the graph control
- run Excel on the server and use Excel in your ASP using automation. That's just a theoretical approach. It's probably way too slow.
- use PERL (and GDLib) to create a GIF on the fly.
...
Again, I think you'll find a few solutions on http://www.15seconds.com
shvonne
July 26th, 1999, 05:16 AM
thanks again lothar...
there is one more question here... do i need to refresh the page that i currently view everytime in order to get updated info???
Lothar Haensler
July 26th, 1999, 05:48 AM
unless you apply some auto-refresh mechanism, e.g. META
<meta HTTP-EQUIV="REFRESH" CONTENT="600;url=yourasp.asp">
shvonne
July 26th, 1999, 07:42 PM
thanks again... ^o^
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.