Tema: Dropdownlist
Ver Mensaje Individual
  #4 (permalink)  
Antiguo 11/12/2008, 09:22
estlui
 
Fecha de Ingreso: noviembre-2003
Mensajes: 209
Antigüedad: 20 años, 6 meses
Puntos: 0
Respuesta: Dropdownlist

gracias mdavila y serch_sgc por su ayuda....

Hay una solucion mas simple que me paso Alvaro Godoy en el foro http://www.es-asp.net/Foro/principia...pdownlist.aspx

y es:

Me.lb_cuenta1.Text = Me.DDL_CtaGL1.SelectedValue.ToString

Cmd.Parameters.AddWithValue("@cuentaGL1", Me.DDL_CtaGL1.SelectedItem.ToString)


Previamente en el Chose data source del DropDownList Task puse como Select a data field to display in dropdownlist: CuentaGL
y en Select a data field for the value of the DropDownList: Cuenta

Le paso el dato por si a alguien les sirve.

gracias a todos