How to display List<string> of urls as hyperlinks on an ASP.Net page (C#)

Posted by james lewis on Stack Overflow See other posts from Stack Overflow or by james lewis
Published on 2010-05-18T11:56:11Z Indexed on 2010/05/18 12:00 UTC
Read the original article Hit count: 128

Filed under:
|

I have a list of strings where by each string is a url to a pdf document. All I want to do is cycle through this list and display each url as a hyperlink on my page. I've seen this done before in MVC where the collection is made avaliable to the view and you can just do a foreach etc etc but I don't know how to do it on a normal asp.net page...

Any help appreciated, cheers!

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET