Ver Mensaje Individual
  #9 (permalink)  
Antiguo 02/11/2009, 10:06
rubenseguel
 
Fecha de Ingreso: octubre-2009
Mensajes: 29
Antigüedad: 15 años, 3 meses
Puntos: 0
Respuesta: Cargar una combox con dato seleccionado vb.net - win form

Eduardo


Dim mListEjecutivoVtas As MyList
mListEjecutivoVtas = CmbEjecutivoVtas.SelectedValue
WgEjecutivoVtas = mListEjecutivoVtas.ItemData

Cuando el programa pasa por esta linea "CmbEjecutivoVtas.SelectedValue"
Arroja este error

{"Unable to cast object of type 'System.Data.DataRowView' to type 'Comercial.MyList'."}