Home » » HELP: Special Character from Url to local String Variable?

HELP: Special Character from Url to local String Variable?

Written By M.L on வெள்ளி, 5 ஆகஸ்ட், 2011 | ஆகஸ்ட் 05, 2011

I can’t able to bring the special character from query string to local variable.
Please help

?userid= Markovicová, Miroslava
Dim strUser As String = HttpUtility.UrlEncode(Request.QueryString("userid"))
strUSer= "Markovicov%2c+Miroslava"

I tried this three it doesn’t work..
Dim a As String = HttpUtility.UrlDecode(strUser)
      Dim b() As Byte = HttpUtility.UrlDecodeToBytes(strUser)
      Dim c As String = HttpUtility.HtmlDecode(strUser)

Please help on this how to convert again to Markovicová, Miroslava

0 comments:

கருத்துரையிடுக

Popular Posts

General Category