Ver Mensaje Individual
  #13 (permalink)  
Antiguo 24/08/2011, 11:47
Avatar de websistems
websistems
 
Fecha de Ingreso: octubre-2010
Mensajes: 69
Antigüedad: 13 años, 6 meses
Puntos: 0
Respuesta: Error al Grabar Fechas

Gracias por sus ideas lo resolvi asi, si tiene vacio(solo el formato) le paso una fecha por defecto en este caso "01/01/1900"

If Me.MaskedTextBox1.Text = " / /" Then
.Add("@fecnac", SqlDbType.Date).Value = "01/01/1900"

Else
.Add("@fecnac", SqlDbType.Date).Value = Me.MaskedTextBox1.Text

End If

gracias a todos