I have a text file with the following contents:
Andrew Law 32 6'1 123 Pounds Tom Harris 19 5'5 180 Pounds Randy Poffo 45 5'3 141 Pounds
Now on my form i have a listbox and four labels.
What i would like to do is have the listbox show only the names of the people in the text file (Andrew Law, Tom Harris, Randy Poffo) and when the user clicks the persons name in the listbox i would like each of the labels to show the corresponding details for that person (one label showing age, one showing their height and one showing their weight.)
I'm aware i could do this with a database however i would much prefer doing it by creating an array or list.
Any help would be so much appreciated!