I'm new to coding, and my first task is to rebuild an existing VBA solution into WPF/C#.
Starting from a pipe delineated text file (which is a personnel dataset of 15 fields), I need to...
- Set combo box 1 to choose what to search by
- Filter Combo box 2 to show only the field selected in Combobox 2
- Display all of the fields of the selected record in a text field.
I have built a class for the text file called People, and I have delineated the people and fields into a list.
Should I be using binding to connect the combo boxes, or should I use another class that filters the combo boxes and handles the interaction? I'm trying to think like a better coder, but I don't know which makes more sense.
Thank you for any insight you may have.