Cita:
Iniciado por Aquaventus
postea el codigo de como lo envias tu parametros, para poderte decir como debes leerlos o que estas haciendo mal.
envio asi
Código ASP:
Ver originalDim row As GridViewRow = GridView1.SelectedRow
Dim myParams As String = "grado=" & row.Cells(2).Text & "&area=" & row.Cells(3).Text & "&auditor=" & row.Cells(4).Text & "&noRef=" & row.Cells(5).Text & "&carRef=" & row.Cells(6).Text & "&fecha=" & row.Cells(7).Text & "&descripcion=" & row.Cells(8).Text & "&respArea=" & row.Cells(9).Text & "&fechaDR=" & row.Cells(10).Text & "&fechaDA=" & row.Cells(11).Text & "&corecion=" & row.Cells(12).Text
myParams = Server.UrlEncode(myParams)
Response.Redirect("impGestionIn.aspx?" + myParams)
recibo en mi mostrarReporte.aspx de la siguiente forma
Código ASP:
Ver originalDim grado As String = Server.UrlDecode(Request.QueryString("grado"))
Me.Label30.Text = grado
Dim area As String = Server.UrlDecode(Request.QueryString("area"))
Me.Label31.Text = area
Dim auditor As String = Server.UrlDecode(Request.QueryString("auditor"))
Me.Label33.Text = auditor
Dim noRef As String = Server.UrlDecode(Request.QueryString("noRef"))
Me.Label34.Text = noRef
Dim carRef As String = Server.UrlDecode(Request.QueryString("carRef"))
Me.Label36.Text = carRef
Dim fecha As String = Server.UrlDecode(Request.QueryString("fecha"))
Me.Label37.Text = fecha
Dim descripcion As String = Server.UrlDecode(Request.QueryString("descripcion"))
'Me.TextBox4.Text = descripcion
Me.TextBox18.Text = descripcion
Dim respArea As String = Server.UrlDecode(Request.QueryString("respArea"))
Me.Label38.Text = respArea
Dim fechaDR As String = Server.UrlDecode(Request.QueryString("fechaDR"))
Me.Label39.Text = fechaDR
Dim auditor1 As String = Server.UrlDecode(Request.QueryString("auditor"))
Me.Label40.Text = auditor1
Dim fechaDA As String = Server.UrlDecode(Request.QueryString("fechaDA"))
Me.Label41.Text = fechaDA
Dim corecion As String = Server.UrlDecode(Request.QueryString("corecion"))
Me.TextBox6.Text = corecion
probe tb con HttpUtility.HtmlDecode y me tira el mismo error