473,387 Members | 1,535 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,387 software developers and data experts.

how to carry special charchters in querystring

Dear ASP.NET Programmers,

How can I carry special characters like + sign in querystring? Thanks in
advance,

Buran
Nov 18 '05 #1
3 986
Use %XX where XX is hexadecimal ASCII code.

%20 = space for example.

George.

"buran" <bu***@buran.com> wrote in message
news:ej****************@tk2msftngp13.phx.gbl...
Dear ASP.NET Programmers,

How can I carry special characters like + sign in querystring? Thanks in
advance,

Buran

Nov 18 '05 #2
Thanks :)
"George Ter-Saakov" <no****@hotmail.com> wrote in message
news:Ou**************@TK2MSFTNGP12.phx.gbl...
Use %XX where XX is hexadecimal ASCII code.

%20 = space for example.

George.

"buran" <bu***@buran.com> wrote in message
news:ej****************@tk2msftngp13.phx.gbl...
Dear ASP.NET Programmers,

How can I carry special characters like + sign in querystring? Thanks in
advance,

Buran


Nov 18 '05 #3
Or you could use the Server.URLEncode("my stuff I want to make querystring safe")

"buran" <bu***@buran.com> wrote in message news:e5*************@tk2msftngp13.phx.gbl...
Thanks :)


"George Ter-Saakov" <no****@hotmail.com> wrote in message
news:Ou**************@TK2MSFTNGP12.phx.gbl...
Use %XX where XX is hexadecimal ASCII code.

%20 = space for example.

George.

"buran" <bu***@buran.com> wrote in message
news:ej****************@tk2msftngp13.phx.gbl...
Dear ASP.NET Programmers,

How can I carry special characters like + sign in querystring? Thanks in
advance,

Buran



Nov 18 '05 #4

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

Similar topics

2
by: Sunshine Valdes | last post by:
Hello all. I am a very new ASP programmer and am having problems with a special character in a query string. The first pages pulls up a record and when the id number is click, you go to the...
0
by: Bryan Parkoff | last post by:
I break one U_WORD variable into two U_BYTE variables. I prefer to manipulate two U_BYTE variables instead of one U_WORD variable using Carry. Please look at my example using U_WORD variable...
12
by: Alex | last post by:
I have a question about determining if one QueryString keys exists. The idea is, if this key exists, than its presence is enough to indicate that its value is true. For example ... ...
4
by: SMG | last post by:
Hi All, I have created an application which is working fine and is in about to launch, now suddenly my mgmt says there are chances that Scrip ID( a particular id and not prim key) may have special...
3
by: SMG - Idealake | last post by:
Hi All, I have created an application which is working fine and is in about to launch, now suddenly my mgmt says there are chances that Scrip ID( a particular id and not prim key) may have special...
1
by: maya | last post by:
I have a quick HomeSite question.. sorry, my news server doesn't carry HomeSite ng... I just need to know how to switch from generating special chars (called "entities" in XML) with numbers...
10
by: rlueneberg | last post by:
I am trying to foward the old sessionID using "Session.SessionID" to an HttpWebRequest CookieContainer so that I can capture the requested page session variables but it is not working as it is...
11
by: ronrsr | last post by:
I have an MySQL database called zingers. The structure is: zid - integer, key, autoincrement keyword - varchar citation - text quotation - text the encoding and collation is utf-8
5
by: Sobin Thomas | last post by:
Hi All, I want to pass a string that contains many special characters (: \ . _ etc) to another page in my website through query string. In my project I have a Gridview control ,in which there...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.