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!
You could create the links using an ASP repeater on the page and bind your List to it.
Page:
Code-behind:
Something like that should do the trick.