473,657 Members | 2,661 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Response.Write

<a target="_blank"
href="Individua lGamePerformanc es.asp?MatchID= <%=RS("MatchID" )%>&TeamID=<%=R equest("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 2966
Paul Smith wrote on 04 feb 2005 in
microsoft.publi c.inetserver.as p.general:
<a target="_blank"
href="Individua lGamePerformanc es.asp?MatchID= <%=RS("MatchID" )%>&TeamID=
<%=Request("Tea mID")%>" >

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='Individu alGamePerforman ces.asp?MatchID ="&RS("MatchID" )&_
"&TeamID="&Requ est("TeamID")&" '>"

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

But why should you?

%>
<a target="_blank"
href="Individua lGamePerformanc es.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="Individua lGamePerformanc es.asp?MatchID= <%=RS("MatchID" )%>&TeamID=<%=R e
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="Individua lGamePerformanc es.asp?MatchID= <%=RS("MatchID" )%>&TeamID=<%=R e
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******@NOyah oo.SPAMcom> wrote in message
news:Oy******** ******@tk2msftn gp13.phx.gbl...
Paul Smith wrote:
<a target="_blank"

href="Individua lGamePerformanc es.asp?MatchID= <%=RS("MatchID" )%>&TeamID=<%=R e
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="Individua lGamePerformanc es.asp?MatchID= <%=RS("MatchID" )%>&TeamID=<%=R e
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******@NOyah oo.SPAMcom> wrote in message
news:Oy******** ******@tk2msftn gp13.phx.gbl...
Paul Smith wrote:
<a target="_blank"

href="Individua lGamePerformanc es.asp?MatchID= <%=RS("MatchID" )%>&TeamID=<%=R e
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="Individua lGamePerformanc es.asp?MatchID= <%=RS("MatchID" )%>&TeamID=<%=R e
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
30302
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
2582
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 long search processes with a flush after each search. When i Navigate to the page, redirect to it from another page, or type the URL to this page in the browser, the page is buffered until it reaches the end of the file and is then displayed all at...
2
2634
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 very bottom of this message. All I want to do is add a target="top" to the URL which is displayed as a link at the top of the results. I know enough about html to know that it probably goes somewhere into the follwing section: <a href=""" &...
3
2812
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 Session("UserType") = "Sales". Then based on the Session("UserType") I use response.redirect to take the user to a specific page. The logic and response.redirect works fine on a Win2k server but when I move the page to a server running Win2003 the...
9
4142
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) SomeFunction(SomeVar3)
13
4734
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 Response.Writes. Are there any tools that will let you design the form then convert that form to Response.Writes that you can further customize with ASP logic? For instance: use Dreamweaver to design the form, then another program to convert to...
5
2498
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 (as I did on ASP) but it does not work. See my test code, after sending 2 lines on response, I'm simulating a processing time before sending other 2 lines.
0
4187
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 which include the javascript I call the flush mehtod, which seems is ignored? However when I mimic the same process using a loop (and no ado object) the flush works correctly. Does anyone have any suggestions why this is not working or a work...
6
7359
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 browser displays or offers to save the binary file instead. I would like to have the browser accept and display the revised HTML code as well as offering to open or save the attached file. This SHOULD be possible using a multipart MIME format -...
4
4322
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 response.writes out comma delimited strings so that the results are opened in Excel or saved to a flat file. Basically, it looks something like this like this:
0
8319
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8837
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8739
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8612
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6175
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5638
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4329
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1969
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1732
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.