Empresas Zona Horaria
This commit is contained in:
@@ -270,7 +270,7 @@ Partial Class Bancos_RepCreditos
|
||||
e.Row.Cells(1).Text = e.Row.DBCampo("Contador")
|
||||
End If
|
||||
|
||||
If e.Row.DBCampo("FechaVencimiento") <> "" AndAlso e.Row.DBCampo("FechaVencimiento").ToDate <= Now Then
|
||||
If e.Row.DBCampo("FechaVencimiento") <> "" AndAlso e.Row.DBCampo("FechaVencimiento").ToDate <= NowADS() Then
|
||||
e.Row.ForeColor = System.Drawing.Color.Red
|
||||
e.Row.ToolTip = "Fecha Vencida"
|
||||
End If
|
||||
@@ -309,7 +309,7 @@ Partial Class Bancos_RepCreditos
|
||||
|
||||
''Exportar Excel
|
||||
'Protected Sub ImgExcel_Click(sender As Object, e As System.Web.UI.ImageClickEventArgs) Handles ImgExcel.Click
|
||||
' GvDatos.ExportToExcel("RepClientes_" & Now.ToShortDateString)
|
||||
' GvDatos.ExportToExcel("RepClientes_" & NowADS().ToShortDateString)
|
||||
'End Sub
|
||||
|
||||
#Region "A C T U A L I Z A R - E X C E L"
|
||||
@@ -614,7 +614,7 @@ Partial Class Bancos_RepCreditos
|
||||
fs = File.Create(path)
|
||||
'NombreArchivo = "hola.excel"
|
||||
' Add text to the file.
|
||||
Dim info As Byte() = New UTF8Encoding(True).GetBytes(String.Format("{0}|{1}", NombreArchivo, Date.Now.ToShortDateString))
|
||||
Dim info As Byte() = New UTF8Encoding(True).GetBytes(String.Format("{0}|{1}", NombreArchivo, NowADS().ToShortDateString))
|
||||
fs.Write(info, 0, info.Length)
|
||||
fs.Close()
|
||||
Catch ex As Exception
|
||||
|
||||
Reference in New Issue
Block a user