-validacion de fecha incial menor a fecha final
This commit is contained in:
@@ -122,6 +122,11 @@ Partial Class ListadoContratos
|
|||||||
Exit Sub
|
Exit Sub
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
If TxtFechaSalida.Text.ToDateTime > TxtFechaRegreso.Text.ToDateTime Then
|
||||||
|
Alert("La fecha inicial no puede ser mayor al final.", TipoMensaje.MsgAdvertencia)
|
||||||
|
Exit Sub
|
||||||
|
End If
|
||||||
|
|
||||||
'Agregamos Contrato
|
'Agregamos Contrato
|
||||||
|
|
||||||
Dim ObjContratos As New ClsContratos
|
Dim ObjContratos As New ClsContratos
|
||||||
|
|||||||
Reference in New Issue
Block a user