Well the following happens I have 2 ComboBox
with names of countries then let's say the following a trip from Spain to Germany worth 800000 vice versa is worth the same so I have it like this
if(combo1.Selectedindex==1 && combo2.SelectedIndex==2 ||
combo1.Selectedindex==1 || combo2.SelectedIndex==2)
{
//aca lo que va a hacer ,el problema es que solo me da el valor
//si selecciono el index 1 y el index 2 pero si pongo index 2 y luego
//index 1 me da un valor incorrecto pienso que es en la forma que pongo
//que capture los index
}
I only try to select the index 1 and 2 or 2 and 1 and send me the same value.
Thanks for your time.