Click here to Skip to main content
15,887,349 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am fetching data from url in query string in asp.net...bt that url contains xml variable data..so hoe to access that xml data using query string

<pre lang="css">url is
http://219.64.91.69/mClk/IncomingMessage/IncomingMessageNotification.aspx?user_name=abc&amp;password=aaaa&amp;keyword=1234&amp;destination=1234567

parameters passed are not http they are in xml format.


in my aspx page i am fetching them as

string UserName = Request.QueryString[&quot;user_name&quot;];
string Password = Request.QueryString[&quot;password&quot;];
string keyword = Request.QueryString[&quot;keyword&quot;];
string destination = Request.QueryString[&quot;destination&quot;];


so how to that xml passed parameters in string variables in code</pre>
Posted
Updated 8-Jul-10 22:04pm
v2

1 solution

Your question doesn't make much sense. Where did you think that the query string is XML ? Given how your whole post is escaped, it's hard to know if the ampersand is escaped in your original query string. Try using the preview to make sure your post is legible and makes sense, and try to explain what makes you think that your data is xml. If it is, just HTMLDecode it, and parse it as XML, in any case.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900