So here's the thing; I'm making this home-made sign-up thing for a school project.
I've got first name, last name, date of birth, SS number among other things.
I can send data to another form's listbox Dim SSID = (tx_SSP.Text) Datbase_of_User_Information.ListBox1.Items.Add(SSID)
However this will only add ONE item to the listbox. I know there's a way to add in a multi-column data thing into the list ex: SSID | Fname | Lname | DoB
Something like the above.
But I've tried doing Listbox1.AddItem("row1 col1", SSID) and it didn't work.
ListVieworDataGridView, which does have such a capability. If you want to rely onListBoxanyway (and set the columns "manually" by putting spaces in between), you can rely onAddRange. For example:Dim source As Object() = New Object() {"1 2 3", "4 5 6", "7 8 9"}andyourListBox.Items.AddRange(source). Alternatively, you might use theDataSourceproperty; example:yourListBox.DataSource = source. - varocarbas