private void PopulateQueryString(System.Web.HttpRequest request) { this._query = new QueryStringCollection(); foreach (string key in request.QueryString.AllKeys) { if (!string.IsNullOrEmpty(key)) { this._query.Add(key, request.QueryString[key]); } } this.SetQuery(); }
/// <summary> /// Populates the query string. /// </summary> /// <param name="url">The URL to get the query string from.</param> private void PopulateQueryString(string url) { this._query = new QueryStringCollection(url); this.SetQuery(); }