PropertyInfo isreadonly = typeof(System.Collections.Specialized.NameValueCollection).GetProperty("IsReadOnly", BindingFlags.Instance | BindingFlags.NonPublic); // make collection editable isreadonly.SetValue(this.Request.QueryString, false, null); // remove this.Request.QueryString.Remove("id");
http://www.codeproject.com/Questions/310625/How-to-clear-Query-string-value-in-net
0 comentários:
Enviar um comentário