This commit is contained in:
@@ -1974,10 +1974,10 @@ chkAplicaVacacion As Boolean, chkAplicaIncapacidad As Boolean, chkAplicaRetardo
|
||||
ElseIf Ex1.Message.Contains("dbo.Vw_Val_Nom_Curps") Then
|
||||
Alert(String.Format("El nuevo personal no se guardo, ya existe un personal con esta curp '{0}'", CURP), TipoMensaje.MsgAdvertencia)
|
||||
Else
|
||||
Me.OnError("Ocurrió un error al guardar el nuevo Personal.", Ex1, SqlAdapter.SelectCommand.Parameters.ParametrosInfo())
|
||||
Me.OnError("Ocurrió un error al guardar el nuevo personal.", Ex1, SqlAdapter.SelectCommand.Parameters.ParametrosInfo())
|
||||
End If
|
||||
Catch ex As Exception
|
||||
OnError("Ocurrió un error al guardar el nuevo Personal.", ex, SqlAdapter.SelectCommand.Parameters.ParametrosInfo)
|
||||
OnError("Ocurrió un error al guardar el nuevo personal.", ex, SqlAdapter.SelectCommand.Parameters.ParametrosInfo)
|
||||
End Try
|
||||
|
||||
Return Retorno
|
||||
|
||||
@@ -1360,6 +1360,7 @@ Public Class SIGWeb : Implements IHttpHandler, IRequiresSessionState
|
||||
End Function
|
||||
#End Region
|
||||
|
||||
|
||||
Private Function GetFilesDirectory(ByVal context As HttpContext) As String
|
||||
Dim retorno As String = ""
|
||||
Dim urlhost As String = context.Request.Url.Host.ToUpper()
|
||||
@@ -1376,7 +1377,7 @@ Public Class SIGWeb : Implements IHttpHandler, IRequiresSessionState
|
||||
Next
|
||||
xmlarchivos.Add(xfolder)
|
||||
retorno = xmlarchivos.ToString()
|
||||
context.Response.ContentType = "text/xml"
|
||||
context.Response.ContentType = "application/xml"
|
||||
context.Response.Write(retorno)
|
||||
context.Response.StatusCode = 200
|
||||
Else
|
||||
|
||||
Reference in New Issue
Block a user