which type is best for three radiobuttons?
- by Manog
Maybe you consider this question trivial but im just curious what is your opinion.
I have three radiobuttons. "Show blue", "Show red" and "Show all".
I did it with nullable boolean. There is collumn in database where blue is 0 and red is 1 so in metode i have to translate bool to int to compare those values (i do it in c#).Of course it works, but i wonder if it is the best solution.
And question is wich type is best in this case? nullable bool, int, or maybe string?