Exemplo n.º 1
0
        private void PopulateQueryString(HttpRequest request)
        {
            QueryList = new QueryStringCollection();

            foreach (var key in request.QueryString.AllKeys)
            {
                if (!string.IsNullOrEmpty(key))
                {
                    QueryList.Add(key, request.QueryString[key]);
                }
            }

            SetQuery();
        }
Exemplo n.º 2
0
 private void PopulateQueryString(string url)
 {
     QueryList = new QueryStringCollection(url);
     SetQuery();
 }