|
Hi,
I have this code for a page...
<%session ("x") = "mySymbol"%>
This is all the code that is on the page, and I have called it call.asp.
Is it possible to change the code to...
<%session ("x") = "y"%>
where a hyperlink from another page will pass 'y' as being the value 'mySymbol'?
I have quite a few pages and I don't wanna make up a directory with 2000 files in it.
Cheers&Beers
oz!
|
|
|
|
|
Use Request.QueryString("y") to get the value from the url.
---
b { font-weight: normal; }
|
|
|
|
|
Thanx Guffa for your reply.
I am afraid I am a novice at ASP. The code I displayed was given to me ages ago. I experimented with the #Include file and it worked by fluke.
Would you be kind enough to show me how to put the line
Request.QueryString("y")
into a hyperlink?
Cheers@Beers
oz
|
|
|
|
|
Just put the key and value in the querystring of the url:
<a href="thepage.asp?y=mySymbol">
---
b { font-weight: normal; }
|
|
|
|
|
Thanx heaps!
That has just save me making heaps of files.
You ripper!
oz
|
|
|
|
|
i want to promote a website contens college information like http://www.collegeboard.com.
if any suggestion i welcome
Editor
http://www.allthewebsites.org
WebDirectory | webhosting | WebTemplates
|
|
|
|
|
|
D. Ram Prabhu wrote: Any free ASP Web Hosting???
free ASP webhosting will be difficult to find,
hosting.indiatimes.com is a good cheap way of getting one.
-Prakash
|
|
|
|
|
|
Try this one: www.aspspider.net[^]
From their site:
<br />
AspSpider.NET offers free web hosting with ASP.NET 2.0 and SQL Server support. This is an absolutely free offer from a group of .NET programmers for the peer technical community.<br />
Haven't checked it out myself, but that's 'cause I only found this yesterday.
'til next we type...
HAVE FUN!! -- Jesse
|
|
|
|
|
|
sounds cool, thanks.
-Prakash
|
|
|
|
|
www.brinkster.com
Free space. No ads.
Supports ASP
Not easy to find their free pages on their site.
They are also listed as Free Educational packages.
Cheers
oz_egirl
|
|
|
|
|
Try www.brinkster.com
Free space, no ads!
Is tricky to find their free pages, they are called Free Educational Packages.
They support ASP etc.
Cheers&Beers
oz
|
|
|
|
|
|
|
I suggest you check out DotNetNuke. It is by far the fastest way to build a fully featured web site, it's Open Source VB.NET and best of all it is FREE. I built my site http://www.greenmarines.com in only two weeks with a forum, photo gallery, chat, news, blogs, and more.
"Half this game is ninety percent mental."
- Yogi Berra
If you can read thank a teacher, if you can read in English, thank a Marine.
|
|
|
|
|
This is a valid wsdl file. The proxy creator utility in VS 2003 IDE accepts it and tries to create a proxy, but it fails to create one. The message is as follows:
------------------
Micorosoft IDE Message:
Could not find a part of the path "C:\Documents and Settings\computer
user\Application Data\Microsoft\Visual Studio\7.1\TempWebDiscovery\
4c008bfc-605a-497b-bfbe-54d82d2341ed\TestWsdl\DishSvc.wsdl
----------------------------
TempWebDiscovery exists as well ss the directory name in code that follows, but it is empty.
The url of the web service exists, but not created with Microsoft Products.
Is it the present state of 'interoperability'?
|
|
|
|
|
Don't know.
But the errmess looks a lot like one I frequently got lately. Have you tried to Rebuild Solution, closing VS, reboot your pc? The first usually fixes my problems. A long shot, but anyway...
|
|
|
|
|
Could you dscribe in what context you got this message?
|
|
|
|
|
Not in conjunction with webservices. Just usuall plain asp.net development.
|
|
|
|
|
Interesting, very interesting, indeed.
I think these Folders which have long names(some code) are like Blackholes where you dump in these troubled items so that they somehow gets flushed out.
If I find out what is happening, I will let you know.
Thanks.
|
|
|
|
|
Which is the best way I can put "LAST MODIFIED AT ....." in my website.
What is best way to get the 'last modified time' from my application.
I want to get the last time when I compiled the application.
Pls. Help
Pls provide ur valuable Suggestions..
"I firmly believe that
any man's finest hour,
the greatest fulfillment of all that holds dear,
is that moment,
when he has worked his heart out in a good cause
and lies exhausted in the field of battle - victorious..."
|
|
|
|
|
user session variable, if ur website in asp
or use one field in database, and update then display in page.
use application variable to perform this.
Editor
http://www.allthewebsites.org
WebDirectory | webhosting | WebTemplates
|
|
|
|
|
I am trying to have a table loaded dynamically from a database when an HTML button is pressed. My code looks as follows:
In the section:
<%
Dim objConn
Dim connStr
Dim TableName1, TableName2
Dim strQuery
Dim rsMessage
Set objConn = Server.CreateObject("ADODB.Connection")
connStr ="PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=" + Server.MapPath("combine.mdb")
objConn.Open(connStr)
TableName1 = "VCC Combine"
TableName2 = "San Jose Combine"
strQuery = "SELECT * FROM ["+TableName2+"]"
Set rsMessage = objConn.Execute(strQuery)
%>
Sub VCCCombine_Click()
strQuery = "SELECT * FROM ["+TableName1+"]"
End Sub
Sub SanJoseCombine_Click()
strQuery = "SELECT * FROM ["+TableName2+"]"
End Sub
In the BODY section:
In the TABLE section:
<% While Not rsMessage.EOF
Response.Write("")
%><%=(rsMessage.Fields.Item("Player").Value)%><%
Response.Write("")
%><%=(rsMessage.Fields.Item("School").Value)%><%
Response.Write("")
%><%=(rsMessage.Fields.Item("Position").Value)%><%
Response.Write("")
%><%=(rsMessage.Fields.Item("Height").Value)%><%
Response.Write("")
%><%=(rsMessage.Fields.Item("Weight").Value)%><%
Response.Write("")
%><%=(rsMessage.Fields.Item("Vertical Leap").Value)%><%
Response.Write("")
%><%=(rsMessage.Fields.Item("Bench Reps @ 185lbs").Value)%><%
Response.Write("")
%><%=(rsMessage.Fields.Item("Bench Reps @ 135lbs").Value)%><%
Response.Write("")
%><%=(rsMessage.Fields.Item("20-Yard Shuttle").Value)%><%
Response.Write("")
%><%=(rsMessage.Fields.Item("40-Yard Shuttle").Value)%><%
Response.Write("")
rsMessage.MoveNext
Wend
objConn.Close()
%>
If I don't add the buttons, the table gets loaded correctly. I really would like to have the Table change when the button is selected. Any ideas here would be appreciated...
|
|
|
|