Tema: Formulario
Ver Mensaje Individual
  #7 (permalink)  
Antiguo 20/11/2005, 16:52
Avatar de hansabina
hansabina
 
Fecha de Ingreso: octubre-2003
Mensajes: 11
Antigüedad: 20 años, 6 meses
Puntos: 0
HPNeo, me podrías ayudar?

Cómo pongo la consulta SQL en una función?

<script runat="server">
Sub Selection_Change(sender As Object, e As EventArgs)


CommandText= "SELECT VeId, VeCapIzq, VeCapDer FROM dbo.CAMIONES where Veid=camion.selectedvalue"

aforoizq.text="VeCapIzq"
End Sub

Sub Selection_Init(sender As Object, e As EventArgs)

' Set the background color for days in the Calendar control
' based on the value selected by the user from the
' DropDownList control.
aforoder.text = "Hola"

End Sub
</script>