So I have this assignment due Monday that I absolutely stumped on and nobody online is really able to help me.
I have a CSV file, and all information per record is separated by a comma. Each record is on it's own line: First name, last name, phone number and nicknames (nicknames can have more than one entry). I have 3 single-line textboxes names appropriately for the names and phone numbers, and one multi-line box for the nicknames. I have four buttons: Load Contacts, Previous Contact, Next Contact and Exit. Here is a screen shot:
Basically, I have to be able to press "Load Contacts" and it has to open the CSV file. The location is already in the code, so I don't have to do an OpenFileDialog. When I press the button, the first contact should appear in the boxes, and the user should be able to scroll through the contacts using the previous and next buttons. They should be able to make changes where needed and have the file save when exiting.
Here's what I got so far.
Someone elsewhere online said I was on the right track but couldn't exactly tell me where the issue was. As of right now I get the following error messages when running the program: