lsmyth1717
Programmer
I have an array list alSearchCriteria which contains values which vary each time its created. It will always have 15 items in the arraylist each time its created. Some of the values in the array list will be a string called null. I want to create some way of looping through the arraylist and pulling back all the values which aren't null and displaying them on some control like a asp:label in .net.
Does anyone know how I could write such a loop in c# and is this the best way of doing it.
So basically to summarise I need to write a loop which goes around my arraylist and prints all the values which are not null to a label contol. Could someone please help me with this.
Does anyone know how I could write such a loop in c# and is this the best way of doing it.
So basically to summarise I need to write a loop which goes around my arraylist and prints all the values which are not null to a label contol. Could someone please help me with this.