Display images in Datalist

  • Thread starter Thread starter John
  • Start date Start date
J

John

I am trying to display images from a directory in a datalist. I have
done a tutorial that retrieves the image path from a database in order
to display, but what would the datasource be for getting from a
folder?
 
You can make a datasource from an ArrayList and populate the ArrayList
with objects of a custom class with public properties for the data you
want to bind to.

HTH,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top