Originally Posted by
Datonare
I'm taking an online .Net course with a surprisingly absent teacher. Well the chapter 7 lab is referencing chapter 11 stuff so I'm pretty much lost and can't seem to find my exact issue online so I was hoping someone here would be able to lend a hand.
I have a ListBox with numbers 1 to 8. On the Leave event for it I am reading a simple text file with:
1 John Smith
2 Bob Loblaw
3 Blah blah
etc etc...
So when I click on "3" in the list box and leave it, I want it to display "Blah Blah" in a separate text box or label.
I was able to read through the text file, but couldn't find a way to store each field into an array or however would be a good way to do it... anyways, any help is appreciate, thanks.