Get Total Rows from array with out passing index no

  • Dim strItem(ListBox1.Items.Count - 1) As String

    Dim i As Integer

    For Each selecteditem As [Object] In ListBox1.SelectedItems


    strItem(i) = TryCast(selecteditem, [String])
    strItem(i) = strItem(i)
    i += 1
    Next

    Dim s As String = String.Empty

    For x = 0 To strItem.GetUpperBound(0)


    s = s + strItem(x)

    Next


    MessageBox.Show(s)

Howdy, Stranger!

It looks like you're new here. If you want to get involved, or you want to Ask a new Question, Please Login or Create a new Account by Clicking below

Login with Facebook

Popular Posts of the Week

    Optimum Creative