Array list is not a control but it is a list of items in memory and this can also be treated as an object. Any item is added to the ArrayList with the Add () method. An Arraylist is capable of generating text and values to several controls automatically.
The code below is used for creating a new array list and also adding values:
Namespace: System.Collections ArrayList myList = new ArrayList(); myList.Add ("DotNetSpider"); // Add a string. myList.Add(1032); // Add an integer myList.Add( DateTime.Now ); // Add current time.