views:

52

answers:

0

Hello all,

I need to dynamically construct a url by appending new parameter to the current url.

I know how to do this in the long way by getting the current url and check if there is any QueryString, if no add "?" if yes add "&". Also check is the parameter is already exist. If yes change the value.

But is there any build in .NET function to do this? Like Request.QueryString.Add

Thanks.