Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

creating databound email links in web expression

Status
Not open for further replies.

mckenneyj

MIS
Jun 1, 2002
96
aspx page show results of query from sql server.
One of the results is an email field.
How do I get that data filed to display as a mailto: hypoerlink. I have already bound it to the URLHyperlink control but that attempts to send me to a URL.

Thanks,
John McKenney
Work Hard... Play Harder
 
something like
Code:
Select fld1, fld2, 
"<a href="Mailto:" & [Emailfield] & "> " & [Emailfield] & "</a>" as EmailLink,
 fld4 ...
from...
or simply add the href and mailto parts in your asp.

Greg
People demand freedom of speech as a compensation for the freedom of thought which they seldom use. Kierkegaard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top