I want to add information from different txtboxes into my file that i've created, so later I can view the updated information in my listbox.

I've tried just using lstrecords.items.add(txtfirstname.text)
lstrecords.items.add(txtlastname.text)
lstrecords.items.add(txtmajor.text)
and so forth, but it only adds to the listbox i've created
I want it to add to the text file, and not have it display back as

Tom
Bernard
T122
7.0

I want it to display back in the text file as one line
Tom Bernard T122 7.0

Can someone help me with doing this??