Tema: Error 42p01?
Ver Mensaje Individual
  #1 (permalink)  
Antiguo 16/09/2010, 17:44
tzalejo
 
Fecha de Ingreso: septiembre-2010
Mensajes: 38
Antigüedad: 13 años, 7 meses
Puntos: 0
Error 42p01?

hola a todos estoy por primera vez a manejar postgresql con vb.net 2005 y me esta tirando el siguiente error "ERROR 42p01 no existe la relacion <tabla>" que puede ser...este es el codigo:

Código vb:
Ver original
  1. dim Conexion As String = "Server=127.0.0.1;Port=5432;User id=postgres;Password=alejo;DataBase=AplicacionAlumno;"
  2. Dim CnPost As Npgsql.NpgsqlConnection
  3.         Try
  4.             CnPost = New Npgsql.NpgsqlConnection(Conexion)
  5.            CnPost.Open()
  6.  
  7.             Dim oDA As New NpgsqlDataAdapter("SELECT * FROM ALUMNOS ", CnPost)
  8.             Dim ODS As New DataSet
  9.             oDA.Fill(ODS, "Alumnos")          
  10.             Me.DataGridView1.DataSource = ODS.Tables("Alumnos").DefaultView
  11.        end try

alguna idea...desde ya gracias saludos

Última edición por tzalejo; 16/09/2010 a las 17:53