
04/08/2005, 16:35
|
 | | | Fecha de Ingreso: julio-2005
Mensajes: 142
Antigüedad: 19 años, 7 meses Puntos: 0 | |
Este es mi codigo
<script language="VB" runat="server">
Sub Page_Load(sender As Object, e As EventArgs)
Dim myConnection As SqlConnection
Dim myCommand As SqlDataAdapter
myConnection = New SqlConnection("server=localhost;database=mybase;Tr usted_Connection=Yes")
myCommand = New SqlDataAdapter("SELECT * FROM EMPLEADOS WHERE NUMERO='"&NUMERO&"'", myConnection)
Dim ds As DataSet = new DataSet()
myCommand.Fill(ds)
MyDataList.DataSource = ds
MyDataList.DataBind()
End Sub
</script> |