Click here to Skip to main content
15,898,538 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: URL encryption Pin
Vasudevan Deepak Kumar21-Aug-07 2:51
Vasudevan Deepak Kumar21-Aug-07 2:51 
GeneralRe: URL encryption Pin
divyesh143221-Aug-07 3:04
divyesh143221-Aug-07 3:04 
AnswerRe: URL encryption [modified] Pin
John-ph21-Aug-07 4:56
John-ph21-Aug-07 4:56 
QuestionQuery String Weirdness Pin
Sam Heller21-Aug-07 1:54
Sam Heller21-Aug-07 1:54 
AnswerRe: Query String Weirdness Pin
Christian Graus21-Aug-07 2:12
protectorChristian Graus21-Aug-07 2:12 
GeneralRe: Query String Weirdness Pin
Sam Heller21-Aug-07 3:51
Sam Heller21-Aug-07 3:51 
AnswerRe: Query String Weirdness Pin
Talal Sultan21-Aug-07 2:28
Talal Sultan21-Aug-07 2:28 
AnswerRe: Query String Weirdness Pin
Michael Sync21-Aug-07 2:40
Michael Sync21-Aug-07 2:40 
hum? I don't think it's strange. "NewsID=66NewsID=66" is something that you pass it to this page..

Steps to reproduce this ~

#1. Create web project
#2. Write the following code in Page_Load.

string a = Request.QueryString.ToString();<br />
        Response.Write(a);


#3. Run the application. (Observe: You will see nothing since there is nothing in parameter.)

#4. Type Like that "http://localhost:49614/WebSite4/Default.aspx?NewsID=66NewsID=66" in browser. (Note: Website4 should be the name of your website.)

You will see the following in your page.
NewsID=66NewsID%3d66

If you use this codeRequest.QueryString.ToString();, you will get all parameters. If you wanna get individual one, use like that "Request.QueryString[0]"

Let me know if I miss something..

Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)

If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you. Smile | :)

GeneralRe: Query String Weirdness Pin
Sam Heller21-Aug-07 3:52
Sam Heller21-Aug-07 3:52 
GeneralRe: Query String Weirdness Pin
Michael Sync21-Aug-07 4:14
Michael Sync21-Aug-07 4:14 
QuestionTextbox Pin
karthave21-Aug-07 1:38
karthave21-Aug-07 1:38 
AnswerRe: Textbox Pin
Vasudevan Deepak Kumar21-Aug-07 1:41
Vasudevan Deepak Kumar21-Aug-07 1:41 
AnswerRe: Textbox Pin
Christian Graus21-Aug-07 2:05
protectorChristian Graus21-Aug-07 2:05 
QuestionHow to get query string parameter value in html Pin
dharanighanta21-Aug-07 1:37
dharanighanta21-Aug-07 1:37 
AnswerRe: How to get query string parameter value in html Pin
Christian Graus21-Aug-07 1:51
protectorChristian Graus21-Aug-07 1:51 
AnswerRe: How to get query string parameter value in html Pin
Piyush Vardhan Singh21-Aug-07 2:09
Piyush Vardhan Singh21-Aug-07 2:09 
GeneralRe: How to get query string parameter value in html Pin
Christian Graus21-Aug-07 2:21
protectorChristian Graus21-Aug-07 2:21 
QuestionHow i create connection string in web.config file Pin
ha_haseebahmad21-Aug-07 1:33
ha_haseebahmad21-Aug-07 1:33 
AnswerRe: How i create connection string in web.config file Pin
Sujit Mandal21-Aug-07 1:42
Sujit Mandal21-Aug-07 1:42 
GeneralRe: How i create connection string in web.config file Pin
ha_haseebahmad21-Aug-07 1:53
ha_haseebahmad21-Aug-07 1:53 
GeneralRe: How i create connection string in web.config file Pin
Sujit Mandal21-Aug-07 1:55
Sujit Mandal21-Aug-07 1:55 
Questionhow to hide a particular editcommandcolumn and button column of a particular row of datagrid at runtime. Pin
MissionSuccess21-Aug-07 1:26
MissionSuccess21-Aug-07 1:26 
QuestionReplace URL into html link Pin
Eduard Keilholz21-Aug-07 1:25
Eduard Keilholz21-Aug-07 1:25 
AnswerRe: Replace URL into html link Pin
Vasudevan Deepak Kumar21-Aug-07 1:39
Vasudevan Deepak Kumar21-Aug-07 1:39 
GeneralRe: Replace URL into html link Pin
Eduard Keilholz21-Aug-07 1:46
Eduard Keilholz21-Aug-07 1:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.