Author: eddy556 | Posted on: 10/15/2008 4:11:10 AM | Views : 248

I'm trying to do the most simple thing ever.  I have a text box, array, and list box.  I want to populate the array using the textbox and then print out everything stored in the array into the listbox, simple?

 Well here's my code:

  1 Partial Public Class _Default
2 Inherits System.Web.UI.Page
3
4 Dim array = New ArrayList
5
6
7 Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
8
9 array.Clear()
10
11
12 End Sub
13
14 Protected Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
15
16 Label1.Tex ...

Go to the complete details ...