|
-
Sep 18th, 2007, 12:12 PM
#1
Thread Starter
Member
[RESOLVED] How to handle a VERY simple data problem
I need to make a program that can open and read some simple data and make an association.
So for example the data would be something like this:
Name Phone number
Bob 408-911-9111
...
...
I want to be able only show the name in a listbox and once the user clicks on the name the phone number shows in a message box.
I handled it using a case statement, but unfortunately the case statement is getting WAY too big since there is about 30 items in the list (and there will be more). How can I do this using either an XML file or reading off a text file or something?
I don't have any DB programs btw.
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|