Ver Mensaje Individual
  #5 (permalink)  
Antiguo 21/03/2005, 08:55
mjesus20
 
Fecha de Ingreso: marzo-2005
Mensajes: 190
Antigüedad: 19 años, 3 meses
Puntos: 0
mira yo lo lleno asi
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'Introducir aquí el código de usuario para inicializar la página
If Not Page.IsPostBack Then
DropDownList4.DataTextField = "equipo"
DropDownList4.DataSource = MyQueryMethod4()
DropDownList4.DataBind()
End If
End Sub


Private Sub DropDownList4_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DropDownList4.SelectedIndexChanged

DataGrid1.DataSource = MyQueryMethod("", "", DropDownList4.SelectedItem.Text, "", "")
campoequipo.Text = DropDownList4.SelectedItem.Text
DataGrid1.DataBind()
End Sub
__________________
MARIA JESUS :si: :aplauso:

----------------------------------------------------
"no hay nada bueno ni malo el pensar lo hace asi"
w.shakespeare