Linked Questions

1 vote
4 answers
3k views

I am trying to read a complex XML file using LinQ. The XML file has a lot of levels, how can get all value in one ILIST<> . there are more tags in items.enter code here The XML has the following ...
Letoncse's user avatar
  • 722
0 votes
2 answers
3k views

I am trying to read the nested elements in the xml below. So far I have been able to read data in chantier/data element, but now the problem lies in how can I read the data inside <questions><...
Imir Hoxha's user avatar
  • 1,704
0 votes
1 answer
132 views

how can I get Password value for specified Username using linq? For example if Username equals AAAA then passsword is ss. <?xml version="1.0" encoding="utf-8"?> <User> <Username&...
Arman's user avatar
  • 25
0 votes
0 answers
128 views

I have an XML file like below: <sections> <section name="516604"> <item key="Terminal" value="254726387322" /> <item key="UserName" value="SomeName" /> <item key="Pass" ...
John Spax's user avatar
  • 1,476
113 votes
5 answers
335k views

I am very new to C#. I have XML file (text.xml). I want to read that in XmlDocument and store the stream in string variable.
AJP's user avatar
  • 2,125
14 votes
5 answers
99k views

I have a List<> which I wrote into an XML file. Now I am trying to read the same file and write it back to List<>. Is there a method to do that?
Nisha's user avatar
  • 1,853
5 votes
6 answers
29k views

I have following XML file, i want to know best way to read this XML file <MyFile> <Companies> <Company>123</Company> <Company>456</Company> <...
Hemant Kothiyal's user avatar
8 votes
3 answers
59k views

I am a beginner programmer starting off with C#, and web services. In the Service.cs file of my web service, I create a ReadXMLFile() method where I am trying to read an existing XML file, take the ...
Jess's user avatar
  • 121
2 votes
2 answers
21k views

Im having a hard time remembering how to do this, and most of the examples I'm seeing dont really cover my issue. I'm trying to read in the below XML file, so that if a user selects a Tool Type from a ...
Medic3000's user avatar
  • 796
3 votes
2 answers
8k views

Using WebApi, what is the best way to consume a service in a MVC client? If the response comes back as: <?xml version="1.0" encoding="UTF-8"?> <ArrayOfContact xmlns:xsd="http://www.w3....
Richard's user avatar
  • 6,038
2 votes
1 answer
6k views

I would like to know how can I read a XML file from my desktop and put it into a string? Here is my XML: <smallusers> <user id="1"> <name>John</name> <...
Josh Hallow's user avatar
3 votes
3 answers
2k views

I am currently using the Newtonsoft Json.NET library to parse Json encoded data and then later convert nodes to the desired data type. Here is an example data structure which is already working for ...
Lea Hayes's user avatar
  • 64.5k
3 votes
1 answer
8k views

This is my Type: public class MyObject { public string destAdd { get; set; } public long Time { get; set; } public int maxNumb { get; set; } public Account AccountCredentials { get; ...
Saeid's user avatar
  • 13.6k
-1 votes
2 answers
2k views

I have following xml data. <?xml version="1.0" encoding="utf-8" ?> <mail> <id>signUpConfirmation</id> <subject>Activation</subject> <body> Hi, You ...
Dheeraj Kumar's user avatar
2 votes
2 answers
4k views

I have been looking for an answer for this for a while: I have an XML file that is formatted like so: <root> <string id = "STRING_ID"> <node1> Some data </node1> ...
Sean Glover's user avatar

15 30 50 per page
1
2 3 4 5