Shane_Nicholson
Member
- Joined
- Nov 8, 2020
- Messages
- 8
- Programming Experience
- Beginner
I have a combo box that will save multiple string values from filtering out specific words. This is captured when the user copies/pastes the string. That all works fine. But I need to save the input to a csv file. Currently, I've only been able to figure out how to save the first value in the combo box. If there are multiple values, its still only saving the first value in each combo box to a cell.
For example, the image attached is my windows form. I need to capture all 3 values in the combo box and save the entire data input as csv.
I am sure I need to do a loop for (i = 0; i < combobox.items.count; i++) to get all the values but I simply have no idea how.
I am very new to C#, I kindly ask for a real simple response. Thank you so much.
For example, the image attached is my windows form. I need to capture all 3 values in the combo box and save the entire data input as csv.
I am sure I need to do a loop for (i = 0; i < combobox.items.count; i++) to get all the values but I simply have no idea how.
I am very new to C#, I kindly ask for a real simple response. Thank you so much.