
13/01/2005, 05:51
|
| | Fecha de Ingreso: enero-2005
Mensajes: 23
Antigüedad: 20 años, 1 mes Puntos: 0 | |
Ayuda con este error!!!!! Please intentalo con esto
Dim strConexion As String
Dim MyConexion As OleDbConnection
Dim MyComando As OleDbDataAdapter
Dim MyDS As New DataSet
strConexion = "PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=" & Server.MapPath("../bdwine/clientes.mdb")
MyConexion = New OleDbConnection(strConexion)
MyComando = New OleDbDataAdapter("Select * From tabla1", strConexion)
MyComando.Fill(MyDS, "tabla1")
MyDataGrid.DataSource = MyjDS
MyDataGrid.DataBind()
MyConexion.Close() |