vb.net arrays

I am new at VB.net and I have to creat arrays for the descriptions I wan to display on a screen. For example
"First Name"
"Address"
"Phone Number"
then I will pull the data to show up beside them.  Can anyone give me an example how to create an array for these descriptions.  I don't know how to create an array.

Thanks,
lindapatAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

planoczCommented:
sample code


Public Class frmArrList
    Inherits System.Windows.Forms.Form

#Region " Windows Form Designer generated code "

    Public Sub New()
        MyBase.New()

        'This call is required by the Windows Form Designer.
        InitializeComponent()

        'Add any initialization after the InitializeComponent() call
        Test()
    End Sub

    'Form overrides dispose to clean up the component list.
    Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
        If disposing Then
            If Not (components Is Nothing) Then
                components.Dispose()
            End If
        End If
        MyBase.Dispose(disposing)
    End Sub

    'Required by the Windows Form Designer
    Private components As System.ComponentModel.IContainer

    'NOTE: The following procedure is required by the Windows Form Designer
    'It can be modified using the Windows Form Designer.  
    'Do not modify it using the code editor.
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        components = New System.ComponentModel.Container()
        Me.Text = "frmArrList"
    End Sub

#End Region

    Private Sub Test()
        Dim str As String = "John Doe, 1000 UptheStreet Drive, 145-423-9875"
        Dim strarr() As String

        strarr = str.Split(",")
        Dim sText As String
        Dim i As Integer
        Dim myAL As New ArrayList

        For i = LBound(strarr) To UBound(strarr)
            myAL.Add(strarr(i))
        Next

        sText = "First Name= " & strarr(0) & vbNewLine
        sText += "Address= " & strarr(1) & vbNewLine
        sText += "Phone Number= " & strarr(2) & vbNewLine
        MsgBox(sText)

    End Sub
End Class
0
planoczCommented:
the myAl is the ArrayList function in Micro$oft

change code to ...

        sText = "First Name= " & myAL(0) & vbNewLine
        sText += "Address= " & myAL(1) & vbNewLine
        sText += "Phone Number= " & myAL(2) & vbNewLine
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
lindapatAuthor Commented:
Thank you sooooooo much. You have been a life saver.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.