Gastos de Trayectos

This commit is contained in:
2019-09-07 18:39:12 -07:00
parent 32fa6d327e
commit 89fd419478
5 changed files with 349 additions and 7 deletions

View File

@@ -98,6 +98,10 @@ Partial Class GPS_TrayectoDetalle
GvCombustible.DataSource = ObjGPS.DtSetResultados.Tables(4)
GvCombustible.DataBind()
GvGastos.DataSource = ObjGPS.DtSetResultados.Tables(5)
GvGastos.DataBind()
End If
End If
Dim count = 0
@@ -210,5 +214,12 @@ Partial Class GPS_TrayectoDetalle
Alert("No se pudo obtener el estatus final", TipoMensaje.MsgError)
End If
ObjGPS.Dispose()
End Sub
End Sub
Protected Sub GvGastos_RowDataBound(sender As Object, e As GridViewRowEventArgs)
If e.Row.RowType = DataControlRowType.DataRow Then
If String.IsNullOrEmpty(e.Row.DBCampo("CveGPSGasto")) Then
e.Row.CssClass = "Totales"
End If
End If
End Sub
End Class