473,508 Members | 2,373 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Make hyperlink with automated generated value in asp

21 New Member
Want to make hyperlink by adding the automated generated value.

Say:
Expand|Select|Wrap|Line Numbers
  1. <a href=”http://www.comapyname.com/pageInfo.asp?<%=Kn&TT(Kn)&”autoId=”&
  2. Recordset1.Fields.Item(“autoId”).value %>”>Person Info</a>
And value of
Expand|Select|Wrap|Line Numbers
  1. Recordset1.Fields.Item(“autoId”).value
will may be 12334

So if i declare
Expand|Select|Wrap|Line Numbers
  1. Dim link
Expand|Select|Wrap|Line Numbers
  1. link = "<a href='http://www.comapyname.com/ pageInfo.asp?<Kn&TT(Kn)&”autoId=”&
  2. Recordset1.Fields.Item(“autoId”).value >'>" & "Person Info" & "</a>"
It is not working.
Jun 29 '07 #1
6 1229
jhardman
3,406 Recognized Expert Specialist
try
Expand|Select|Wrap|Line Numbers
  1. link = "<a href='http://www.comapyname.com/pageInfo.asp?" & Kn
  2. link = link & TT(Kn) & "autoId=” & Recordset1(“autoId”)
  3. link = link & "'>Person Info</a>"
  4. response.write link & vbNewLine
Jared
Jun 29 '07 #2
Dilruba
21 New Member
try
Expand|Select|Wrap|Line Numbers
  1. link = "<a href='http://www.comapyname.com/pageInfo.asp?" & Kn
  2. link = link & TT(Kn) & "autoId=” & Recordset1(“autoId”)
  3. link = link & "'>Person Info</a>"
  4. response.write link & vbNewLine
Jared
No it is not working
Jun 29 '07 #3
danp129
323 Recognized Expert Contributor
You need to view the source and figure out what's missing in the concatenation. Looks like an ampersand is missing before autoid but something else may be as well.
Jun 29 '07 #4
jhardman
3,406 Recognized Expert Specialist
No it is not working
What, you get nothing at all, or the link doesn't work?
Jun 29 '07 #5
Dilruba
21 New Member
What, you get nothing at all, or the link doesn't work?
No page is not running. Interent explorer giving the following message : HTTP 500 internal server error - Microsoft Internet Explorer
Jun 30 '07 #6
danp129
323 Recognized Expert Contributor
Make sure you disable friendly http errors in IE's advanced options.

Tools > Internet Options > Advanced
Remove check from "Show Friendly HTTP Error Messages"
Jun 30 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1080
by: CalTex | last post by:
I have a check box on my Contract Tracter form and when the client checks the box an automated e-mail is sent out. In that e-mail I would like to attach a field on the form that is a hyperlink to...
1
1490
by: campbellbrian2001 | last post by:
Thanks to all.... does anyone know how to automatically launch a webpage hyperlink when the hyperlink appears in the text box on a for. I don't want the user to use the mouse pointer to go to the...
1
1201
by: Udi | last post by:
Hello I configured the MS SQL SERVER 2000 to generate the Primery Key automaticly, now, the problem is that when i insert a new row using a DataGrid that connected to the table with the...
4
4182
by: Tomek R. | last post by:
Hello ! This post does'nt regard column hyperlink. I just have single hyperlink and want to create it's NavigateUrl dynamically. This is my test page <form id="Form1" method="post"...
2
1489
by: AtlasApollo | last post by:
Hi Folks, Can someone please share insight into why this problem is occuring? I've placed a Hyperlink control onto a webform, and when it compiles and runs, there is no HREF generated, and the...
1
9167
by: Nathan Sokalski | last post by:
I am using the ImageUrl property of the Hyperlink control to create a graphical Hyperlink. However, I want to change the size of the image I am using, but the generated HTML places the width/height...
5
2500
by: Patrick.O.Ige | last post by:
I want to have a rollover image on an hyperlink inside a Repeater control but when i run the page i get "Image1 is undefined" Any ideas? I have a Hyperlink and an Image control in a repeater...
14
2636
by: fjm | last post by:
Hi all.. I'm back with another problem that I just can't seem to solve. I have dynamically generated hyperlinks that are created from a while loop in tabular format. Each hyperlink should...
1
47348
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Many websites have a form or a link you can use to download a file. You click a form button or click...
0
7223
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
7377
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...
0
7489
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...
1
5047
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...
0
4705
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...
0
3191
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1547
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
414
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...

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.