473,326 Members | 2,133 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

HttpUtility.ParseQueryString

Hi Gang,

I have to get query strings from a url in a local variable and am using the
captioned method. The problem is that, for the first query string, it
returns the entire url up to and including the sought-after query string. It
returns any subsequent query strings OK.

Does anyone know of a build-in NET method for parsing out the query string
section of a url. I am currently using the SubString method and getting
everything after the first question mark but that makes me nervous.

Thanks.

Steve
Jan 17 '07 #1
0 1983

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: kwele | last post by:
I need to use the HttpUtility.UrlEncode method in a winform. However, the HttpUtility class is not available in intellisense from System.Web. What do I need to do to be able to use this method? ...
5
by: bullshark | last post by:
Hi all. Just tearing my hair out here. VSN03 XP all latest. I'm trying to gain use of System.Web.HttpUtility.UrlEncode("string"). The problem is, it isn't there. I've got:
1
by: Muscha | last post by:
Hi, On an ASP.Net I can use UrlEncode() method to encode a URL that I want to forward using respnose.redirect, what's the equivalent of this in Windows Form? I want to be able to do open a...
1
by: Arne Modersohn | last post by:
Hello, how can I user the HttpUtility on Windows XP Personal? I want to use UrlPathEncode(). Is there any other function that I could use instead? Arne
4
by: Andreas Klemt | last post by:
Hello, is there a difference between System.Web.HttpUtility.UrlEncode and Server.UrlEncode ?
2
by: Marc Cardinal | last post by:
I have a need to encode and decode url content. I'm currently using the UrlDecode and UrlEncode methods from the HttpUtility class. However the code must be able to run under the .Net Internet...
2
by: Wayne Wengert | last post by:
I am trying to use the HttpUtility methods shown below in a Windows Form. I cannot get Intellisense to accept the code - I've used Imports System.Web and I also tried adding the specific name space...
2
by: Brett | last post by:
In one vb.net project, I can do Imports System.Web.HttpUtility and have access to the URLEncode method. In another project, the same import says HttpUtility is not a member of Web. Why...
0
by: JP | last post by:
I have a text area that I allow the users to pertty much type what they want. I started getting A potentially dangerous Request.Form value was detected from the client. I added the 2nd line to each...
6
by: CindyH | last post by:
Hi I'm not sure whether I should send this as a new message or use the one I've been using but... I'm using vb.net 2.0 - My problem is I need to send something like this: 'dim encodedstring =...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.