--Se implementó el enrutamiento hacia RepContratoDetalle

This commit is contained in:
AbrahamCastilloV
2024-02-14 19:59:36 -07:00
parent 53efe927b4
commit c959a3d090
7 changed files with 260 additions and 89 deletions

View File

@@ -228,7 +228,6 @@ Partial Class RepContratosCalendario
End Sub
Protected Sub GoContratoDetalle(sender As Object, e As EventArgs)
Dim GvRow As GridViewRow = DirectCast(DirectCast(sender, LinkButton).NamingContainer, GridViewRow)
Dim CveContrato As String = GvRow.DataKey("CveContrato")
Response.Redirect(String.Format("~/Transportes/RepContratoDetalle.aspx?CveContrato={0}", CveContrato))
Response.Redirect($"~/Transportes/RepContratoDetalle.aspx?CveContrato={GvRow.DataKey("CveContrato")}")
End Sub
End Class