Ver Mensaje Individual
  #5 (permalink)  
Antiguo 09/02/2009, 09:42
Avatar de Zeptimo
Zeptimo
 
Fecha de Ingreso: enero-2008
Mensajes: 269
Antigüedad: 17 años, 1 mes
Puntos: 1
De acuerdo Respuesta: problemas con el combobox

ESTA ES LA SOLUCION POR SI ALGUIEN TIENE EL MISMO CASO QUE YO..

SALUDOS..................GRACIAS POR SI COOPERACION

if (comboBox2.SelectedIndex == 0)
{
comando.Parameters.AddWithValue("pPSTATUS", "1");
}else if (comboBox2.SelectedIndex == 1)
{

comando.Parameters.AddWithValue("pPSTATUS", "2");
}
else if(comboBox2.SelectedIndex == 2)
{
comando.Parameters.AddWithValue("pPSTATUS", "3");
}