Im trying to output an arraylist using a datalist. I have tried the following although this fails..
The complication I have that I cant get around is that the arraylist is a property of my custom built class. Therefore I have the following structure (included within the code snippet part) which I bind to using the following
DataList1.DataSource = results._options;
Problem I have is that I dont know what to put within the markup, denoted below with the triple x to output the elements within the arraylist!
DataItem, "xxx") %></li>
Please tell me how!
With this working I expect to get the following html
If I was to do the following
public class results
public string _title;
public ArrayList _options = new ArrayList();