Ver Mensaje Individual
  #5 (permalink)  
Antiguo 27/07/2006, 15:28
Avatar de shalom_dy
shalom_dy
 
Fecha de Ingreso: marzo-2005
Ubicación: Chile
Mensajes: 94
Antigüedad: 19 años, 11 meses
Puntos: 0
rootk, gracias por contestar y dale no mas con los consejos que siempre son útiles.

Mira puse el mismo codigo.. incluyendo un end if
Dim myReader As OleDbDataReader
Me.OleConn7.ConnectionString = Strconn
Me.OleDa.SelectCommand = Me.OleDbSelectCommand
Me.OleDbSelectCommand.CommandText = Strparam

Try
Me.OleDbSelectCommand.Connection = Me.OleConn7
myReader = OleDbSelectCommand.ExecuteReader()
Catch ex As Exception
Response.Write("Error = " + ex.Message)
Finally
If OleConn7.State = ConnectionState.Open Then
OleConn7.Close()
End If
End Try
myReader.Close()


y me sale el error:
Referencia a objeto no establecida como instancia de un objeto.
__________________
Shalom Dy.