Create link on page w/ web address stored in database
Posted
by RememberME
on Stack Overflow
See other posts from Stack Overflow
or by RememberME
Published on 2010-03-10T06:01:12Z
Indexed on
2010/03/25
2:23 UTC
Read the original article
Hit count: 310
This seems like it should be easy, but I can't seem to figure it out. All of my google searches lead me to linking to databases which isn't what I want to do. I'm a complete web development newb.
I've roughly followed the NerdDinner tutorial in creating my web app. One of my stored fields is a web address. On the Index and Details pages, when I display the info from my record, I want the web address to be a clickable link to the website.
It's currently displayed as:
<%= Html.Encode(Model.Subcontract.company1.website) %>
© Stack Overflow or respective owner