Classifieds Scripts, Web Scripts,  Ajax Scripts, PHP Scripts, ASP Scripts

Archive

Posts Tagged ‘The ArrayList’

ASP.NET – The ArrayList Object

December 26th, 2011

Create an ArrayList The ArrayList object is a collection of items containing a single data value. Items are added to the ArrayList with the Add() method. The following code creates a new ArrayList object named mycountries and four items are added: <script runat=”server”> Sub Page_Load if Not Page.IsPostBack then dim mycountries=New ArrayList mycountries.Add(“Norway”) mycountries.Add(“Sweden”) mycountries.Add(“France”) [...]

Read More >>

Author: Categories: ASP.NET Tags: ,