Answers for "c# .net stringify data query"

C#
0

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
Posted by: Guest on December-17-2020

C# Answers by Framework

Browse Popular Code Answers by Language