I need to dynamically build the url by adding a new parameter to the current url.
I know how to do this ultimately by getting the current url and checking if there is any QueryString if there is no "?" if yes, add "&". Also check that the parameter already exists. If yes, change the value.
But is there any function in .NET for this? Like Request.QueryString.Add
Thank.
source
share