Tema: C# con acces
Ver Mensaje Individual
  #2 (permalink)  
Antiguo 07/01/2010, 10:36
dubiweb
 
Fecha de Ingreso: octubre-2008
Mensajes: 122
Antigüedad: 16 años, 3 meses
Puntos: 7
Mensaje Respuesta: C# con acces

solo lo adapta ha c# paro la consulta en visual con access la genero así

Código:
Dim strcom As String = "Select * from IngresoSalidaEmpleados where FechaDeTransaccion >= #" & Format(Me.XpDateTimePicker3.Value, "dd/MM/yyyy") & "#  and FechaDeTransaccion <= #" & Format(Me.XpDateTimePicker4.Value, "dd/MM/yyyy") & "# and IdDeUsuario = '" & Me.TextBox3.Text & "' "
                Me.OleDbDataAdapter5 = New OleDbDataAdapter(strcom, Me.OleDbConnection1)
                Me.ConsultllegadasTardiass1.AcceptChanges()