System.Web.HttpUtility.UrlEncode() help help help help
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
im trying to pass arabic text in my query string......... but the data appears rabish....... i rtied to past the result URL and QuerString and worked well..... so i think the Creat() method ...so plz i need help and this is the method i use.... HttpWebRequest Requset = (HttpWebRequest)HttpWebRequest.Create(URL + "&depositType=" + System.Web.HttpUtility.UrlEncode("Some Arabic Text") + "&transferName=" + System.Web.HttpUtility.UrlEncode("Some Arabic Text")); Requset.Method = "GET"; HttpWebResponse Response = (System.Net.HttpWebResponse)Requset.GetResponse();