c# - Best way to have multiple user inputs for each item in a list box? -
i feel may phrasing question incorrectly seems should relatively trivial task, i'm looking mechanism accept multiple user inputs each item in list. in practice intend list contents of directory (list of files) have them check permutation of multiple box's option 1, option 2, option 3,... option n+1. different things depending on user selected.
i.e. option 1 may move file directory , option 2 may send file email attachment, if both checked both when user clicks button.
listoffiles option 1 option 2 file1.txt x x file2.csv x file3.py x
i should able iterate on list of files , things file 1 based on option 1 , 2 being selected, file 2 based on option 1 being selected... , on.
can point me c# control or other mechanism accomplish this? i'm open other languages / frameworks well, starting winform or asp.net application seems there'd trivial way in frameworks...
in winform can use datagridview
add 3 columns
type of first column should datagridviewtextboxcolumn
and next 2 column should datagridviewcheckboxcolumn
Comments
Post a Comment