Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# .net stringify data query

NameValueCollection queryString = System.Web.HttpUtility.ParseQueryString(string.Empty);

queryString.Add("key1", "value1");
queryString.Add("key2", "value2");

return queryString.ToString(); // Returns "key1=value1&key2=value2", all URL-encoded
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #stringify #data #query
ADD COMMENT
Topic
Name
7+9 =