Hyperlink in a database

greenspun.com : LUSENET : SQL Server Database Administration : One Thread

Hello again. new question. Is it possible to put a working hyperlink into a database relation so that when displayed the hyperlink can be used from the table? (I am using ASP). I have tried putting in an command but this just gets displayed in the row. Thanks Matt

-- Anonymous, August 09, 1999

Answers

Matt,

Here are a couple of approaches. The first approach is to store something like: description in the column of the SQL Server table and display it using something like: Response.Write(rs("hyperLink"))

The second approach is to store something like: http://www.domain.com/page.htm in the column of the SQL Server table and display it using something like: Response.Write("description")

Hope this helps,

Eric

-- Anonymous, August 09, 1999


Moderation questions? read the FAQ