Click here to Skip to main content
15,884,986 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
How do I get the XML return from the Indeed.com API in C#?
How i can show this information in asp.net and c#.
I am using one textbox where i have to put the name of the city.(search box)
List box where all the information will come regarding the jobs related to that city.

[indeed.com is not providing any .asmx file which I can use as reference in asp.net.]
My way of solving:
1. Call the xml file by clicking on the button
2. Load the XML data into datatble
3. Load the data into Listview .

I am working on this since morning but getting confused .
should I use the other way around like jqueryajax($.ajax).
Posted

Again, you have to ask Indeed.com. You start with that here[^].
 
Share this answer
 
Hi,
as you said you want to handle xml return from Indeed.com API. Right?
so, i am assuming you have xml but you are not able to handle it. Then see this.
C#
string response; // Let's say you have xml in this response string.
XmlReader profile = XmlReader.Create(new StringReader(response));
DataSet ds = new DataSet();
ds.ReadXml(profile);
// ds will have all xml values..

That's it.
Hope it helps you.
Thanks.
 
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