I have an arraylist:
Dim downloadsarray As New ArrayList
downloadsarray.Add(iconlink)
downloadsarray.Add(imgpath)
downloadsarray.Add(filesize)
downloadsarray.Add(description)
Which is the datasource of my repeater:
DownloadsRepeater.DataSource = downloadsarray
DownloadsRepeater.DataBind()
Please can you tell me how I output the items in the array to the .aspx page. I usually use (when using sqldatareader as datasource):
<%#Container.DataItem("1stcolumnnamestring")%>
<%#Container.DataItem("2ndcolumnnamestring")%>
But this does not work when using the arraylist as datasource.
Thanks.
ps... I know how to use <%#Container.DataItem%> to dump everything but I need to get at the items in the array individually, not have them all ditched out to the page in one go. For example, item 1 contains a link, item 2 contains an image path, item 3 contains a description. I need to have them kick out in the correct order to build the link and icon correctly.