B
Bill Gower
I have a group of 7 checkboxes representing the days of the week. I have an
enum that that corresponds to the days ex. DaysOfWeek.Sunday,
DaysOfWeek.Monday etc. I have a library that has a function that I call and
need to pass the days of the week that the user has selected concatenated by
a |.
What is the easiest and cleanest way to go through all the checkboxes and if
the value is true concatenate the enum values together to pass to the
function?
Bill
enum that that corresponds to the days ex. DaysOfWeek.Sunday,
DaysOfWeek.Monday etc. I have a library that has a function that I call and
need to pass the days of the week that the user has selected concatenated by
a |.
What is the easiest and cleanest way to go through all the checkboxes and if
the value is true concatenate the enum values together to pass to the
function?
Bill