S
Sara T.
Does ASP.NET have any class or API to handle URL like the issues as
following ?
URL: http://www.abc.com
I need to add one or two variables named param1 and param2 like this:
Dim s As String = Request.Url.ToString
s = AddParam(strResult, "param1", "value1")
s = AddParam(s, "param2", "value2")
The result should be
http://www.abc.com?param1=value1¶m2=value2
And if I need to remove some parameter in UTL like this:
s = DeleteParam(s, "param1")
The result should be
http://www.abc.com?param2=value2
Thanks so much,
Sara T.
following ?
URL: http://www.abc.com
I need to add one or two variables named param1 and param2 like this:
Dim s As String = Request.Url.ToString
s = AddParam(strResult, "param1", "value1")
s = AddParam(s, "param2", "value2")
The result should be
http://www.abc.com?param1=value1¶m2=value2
And if I need to remove some parameter in UTL like this:
s = DeleteParam(s, "param1")
The result should be
http://www.abc.com?param2=value2
Thanks so much,
Sara T.