I tried doing the following:
<a href="<%=(rsWeb.Fields.Item("WebAddress").Value)%>"><%=(rsWeb.Fields.Item("WebAddress").Value)%></a>
I'm extracting the URL "WebAddress" (stored as a text string) from a database. I want to print the URL and hyperlink it.
Now I can do this:
<a href="<%=(rsWeb.Fields.Item("WebAddress").Value)%>">Click Me</a>
But the first prints nothing, what am I doing wrong?
Thanks,
<a href="<%=(rsWeb.Fields.Item("WebAddress").Value)%>"><%=(rsWeb.Fields.Item("WebAddress").Value)%></a>
I'm extracting the URL "WebAddress" (stored as a text string) from a database. I want to print the URL and hyperlink it.
Now I can do this:
<a href="<%=(rsWeb.Fields.Item("WebAddress").Value)%>">Click Me</a>
But the first prints nothing, what am I doing wrong?
Thanks,