Ver Mensaje Individual
  #2 (permalink)  
Antiguo 01/04/2004, 14:05
Avatar de SunDarK
SunDarK
 
Fecha de Ingreso: diciembre-2003
Ubicación: Jerez de la Frontera
Mensajes: 1.193
Antigüedad: 21 años, 2 meses
Puntos: 8
Cambia esta linea
Cita:

objComando = New OleDbCommand("Select Reporte, Nombre From consultas Where Reporte = " & Convert.ToInt32(TextBox1.Text) & "", objconexion)
por esta otra
Cita:

objComando = New OleDbCommand("Select Reporte, Nombre From consultas Where (Reporte = " & Convert.ToInt32(TextBox1.Text) & "" & ")", objconexion)
Saludossss