hi to all..thanks in advance...i want encode url...but it is not encoding... pls tell me how to encode url Response.Redirect("Default.aspx?a=" + Server.UrlEncode("sam")); ...