473,395 Members | 2,795 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Response.Write

<a target="_blank"
href="IndividualGamePerformances.asp?MatchID=<%=RS ("MatchID")%>&TeamID=<%=Request("TeamID")%>"


Can anyone please tell me what to enter after Response.Write to write the
above to the HTTP Response body.

I have been trying but cannot seem to get it right!
Jul 22 '05 #1
4 2945
Paul Smith wrote on 04 feb 2005 in
microsoft.public.inetserver.asp.general:
<a target="_blank"
href="IndividualGamePerformances.asp?MatchID=<%=RS ("MatchID")%>&TeamID=
<%=Request("TeamID")%>" >

Can anyone please tell me what to enter after Response.Write to write
the above to the HTTP Response body.

I have been trying but cannot seem to get it right!


If we are Talking ASP vbscript:
Response.Write "<a target='_blank'" &_
"href='IndividualGamePerformances.asp?MatchID="&RS ("MatchID")&_
"&TeamID="&Request("TeamID")&"'>"

[you could exchange ale apostrofes to double doublequotes, if you prefer]

But why should you?

%>
<a target="_blank"
href="IndividualGamePerformances.asp?MatchID=<%
= RS("MatchID") %>&TeamID=<% = Request("TeamID") %>" >
<%

will do the same [not tested]
--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Jul 22 '05 #2
Paul Smith wrote:
<a target="_blank"
href="IndividualGamePerformances.asp?MatchID=<%=RS ("MatchID")%>&TeamID=<%=Re
quest("TeamID")%>"
>


Can anyone please tell me what to enter after Response.Write to write
the above to the HTTP Response body.

I have been trying but cannot seem to get it right!


I'm not sure I understand the question. As long as you put the above outside
of a server-side script block, it will be written to Response ...

<%
server-side code
%>
<a target="_blank"
href="IndividualGamePerformances.asp?MatchID=<%=RS ("MatchID")%>&TeamID=<%=Re
quest("TeamID")%>"

Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Jul 22 '05 #3
ignore my other post... damn eyes :}

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in message
news:Oy**************@tk2msftngp13.phx.gbl...
Paul Smith wrote:
<a target="_blank"

href="IndividualGamePerformances.asp?MatchID=<%=RS ("MatchID")%>&TeamID=<%=Re
quest("TeamID")%>"
>


Can anyone please tell me what to enter after Response.Write to write
the above to the HTTP Response body.

I have been trying but cannot seem to get it right!


I'm not sure I understand the question. As long as you put the above
outside
of a server-side script block, it will be written to Response ...

<%
server-side code
%>
<a target="_blank"
href="IndividualGamePerformances.asp?MatchID=<%=RS ("MatchID")%>&TeamID=<%=Re
quest("TeamID")%>"

Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.

Jul 22 '05 #4
he's missing a closing " in the HREF=

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in message
news:Oy**************@tk2msftngp13.phx.gbl...
Paul Smith wrote:
<a target="_blank"

href="IndividualGamePerformances.asp?MatchID=<%=RS ("MatchID")%>&TeamID=<%=Re
quest("TeamID")%>"
>


Can anyone please tell me what to enter after Response.Write to write
the above to the HTTP Response body.

I have been trying but cannot seem to get it right!


I'm not sure I understand the question. As long as you put the above
outside
of a server-side script block, it will be written to Response ...

<%
server-side code
%>
<a target="_blank"
href="IndividualGamePerformances.asp?MatchID=<%=RS ("MatchID")%>&TeamID=<%=Re
quest("TeamID")%>"

Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.

Jul 22 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Ricardo | last post by:
Hi. How should I pass a " (doble-quote) character to response.write() in order for it to be sent to the output ? Thanks in advance for the help.
0
by: Copa | last post by:
Hello, I am testing buffering an asp page and Flushing information out to the browser, hence i wrote the code in an asp page that follows this Message Post. The loops are suppose to simulate...
2
by: Rob McLennan - ZETLAND | last post by:
Hi, I'm relatively clueless when it comes to correct ASP syntax. I'm testing out a search form for my company's website which is done in ASP. The results are displayed as per the code shown at the...
3
by: Gary | last post by:
I am having a strange problem that I cannot solve. I have an asp page that I use for a user to login and gain access to other pages. When the user logs in I set a couple of session variables like...
9
by: Dominic Godin | last post by:
Hi, I have an asp page that does a lot of processing and reports it's finished by printing the word "Success". For example: <% SomeFunction(SomeVar) SomeFunction(SomeVar1) ...
13
by: TinyTim | last post by:
I'm a newbie at ASP & HTML. It seems that when you use server side code and you're going to return a customized HTML form with several fields and labels, you have to do an extensive amount of...
5
by: Luiz Vianna | last post by:
Guys, I need to send some info to my client while I'm processing some stuff. The flow will be something like : -process -response -process -response .... I imagine to use response.flush...
0
by: jose.mendez22 | last post by:
I'm trying to fire a pop-up window before I execute a lengthy stored procedure so I may utilize this window as a status window on number of records executed. After my response.write statements...
6
by: john | last post by:
The standard method to transmit a file from an aspx page to a browser is to stream the file to the response then end the response. The HTML code generated by the aspx page is discarded, and the...
4
by: cbtechlists | last post by:
I have an ASP app that we've moved from a Windows 2000 to a Windows 2003 server (sql server 2000 to sql server 2005). The job runs fine on the old servers. Part of the app takes a recordset and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.