dimanche 16 avril 2017

Calculating Option Values from Check Box and Radio Button Values, .Net C# or VB

I know I'm not going to explain this well, so please bear with me.

I've seen it done before that when you add the values of some options you have a number that indicates a unique configuration for example

  • checkbox1 = 1
  • checkbox2 = 2
  • radiobutton1 = 3
  • radiobutton2 = 4

or something similar

Then you add the selected options and you have your option set to use with a "SELECT CASE" or whatever.

Has anyone done this before and is it a good way to collect a large set of options when running a process?

I'd like to create a reference table or something so I have a guide when using it.

So an example or description of how to do it would be great

Aucun commentaire:

Enregistrer un commentaire