Ver Mensaje Individual
  #10 (permalink)  
Antiguo 10/12/2012, 10:53
Avatar de Aquaventus
Aquaventus
 
Fecha de Ingreso: junio-2010
Ubicación: Lima-Peru , En el alba de la naturaleza
Mensajes: 2.105
Antigüedad: 13 años, 10 meses
Puntos: 267
Respuesta: aque se debe este tipo de error en convercion en las fechas Error de servi

Si en tu BD está declarado como campo DateTime, trata de convertirlo en DateTime desde tu Código para que el SQL reciba un Datetime:
Código vb:
Ver original
  1. Dim _dt As Data.DataTable = _auto.List_Eventos_X_Fecha_X_IMEI(Convert.ToDateTime(String.Format("{ 0} {1}", CDate(fc_Ini.Fecha).ToString("dd/MM/yyyy"), uc_horaini.HORAS)), Convert.ToDateTime(String.Format("{0} {1}", CDate(fc_Final.Fecha).ToString("dd/MM/yyyy"), uc_HORAFIN.HORAS)), _auto.DT_EQUIPOSGPS.Rows(0)(ThorIntegSDK.GPS.Equip osGPS.EquiposGPSCons.IMEI))
  2. Dim _dt_eventos As DataTable = _auto.List_Eventos_X_Fecha_X_IMEI(Convert.ToDateTimeString.Format("{ 0} {1}", CDate(fc_Ini.Fecha).ToString("dd/MM/yyyy"), uc_horaini.HORAS)), Convert.ToDateTimeString.Format("{0} {1}", CDate(fc_Final.Fecha).ToString("dd/MM/yyyy"), uc_HORAFIN.HORAS)), _auto.DT_EQUIPOSGPS.Rows(0)(ThorIntegSDK.GPS.Equip osGPS.EquiposGPSCons.IMEI))
__________________
Internet es tener todo el conocimiento global a tu disposición.
Desarrollo de Software - Ejemplos .Net