I am using vb.net.
I have an url which is http://localhost:56945/w3school/LeaveApplication.aspx?name=LM#20168226&isApprove=yes
Here i am getting the value of 'name' by Request.QueryString but i am getting only the value 'LM'.
I am not getting the full value 'LM#20168226'
My Code is bellow
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not IsPostBack Then
Dim c As String = Request.QueryString("name")
Dim b As String = Request.QueryString("isApprove")
End If
End Sub
I have used HttpContext.Current.Request.QueryString("name") but same result.
And server.urldecode same result.
How could i get the full value ??
And thanks in advance.