I need help with the project I am currently working on. Please bare with me, I'm not good at coding specially with c# this is my first attempt.
I have a button the will pull the data from webservice. Saving of data to database will be triggered with the same button. I have manage to display the...
Hi all. I am making a game like minecraft. I need to keep the world when the player exits the game. Chunk (it is a place 16 by 16 blocks) and world contain a lot datas, that don't serialize can. so i have created classes WorldData and ChunkData, that contain only serializable varibles. But i...
I try to serialize a n object to xml file.this object containt a property length
public double Length
Hello, I have an xml document
<Person Attribute1="Name" Attribute2="LastName" Attribute3="Age" Attribute4="Price">
<Person1 Attribute1Person1="NamePerson" Attribute2Person1="LastNamePerson" />
<Person2 Attribute1Person2="NamePerson" Attribute2Person2="LastNamePerson" />
I want to create a web service method which will taken xml string as input parameter and when I run the webservice I pass the xml string . The webmethod should store the xml string in a file. How can I do in C# using visual studio. please help
for example when I run the below code it works as I...
I currently have a system in a which I store an image to a byte (cover) in a class instance. I'm trying to extract a byte from the class instance, but I don't know how to do that.
the code I'm using is
information = (from e in...
My C# code is returning the first phone number in the xml document regardless of its type.
But the requirement is that my C# code should return only one phone number based on type found in xml document in a certain order.
There are 4 types of phone numbers as you will see in the xml document...
I made a thing, and would very much like input / critiques / comments from folks, if you're interested. It's a library for parsing JSON/YAML/XML into a very free-form and forgiving data structure (that resembles hashes in Ruby/JS/Python).
You can find it here...
Hey everyone, in my project I deserialize an xml file in order to load the info to the class and it all went good ..before I added Farseer Physics. Now it just won't load and says "An exception of type 'System.InvalidOperationException' occurred in System.Xml.dll but was not handled in user...
I am creating an XML document from a schema. I used xsd.exe to create a class file from the xsd. I have a datatable that I am using to write the xml with. Below is a sample with only first name and surname.
As expected though, 5 nodes are created, the problem is that it only writes...
I am new to c# and linq. Could you please help me to parse the below xml through linq.
<?xml version="1.0" encoding="UTF-8"?>
<ID> 1 </ID>
<Color1> "T1" </Color1>
<Color2> "T2" </Color2>
<Color3> "T3" </Color3>
Problem deploying to my company's domain - "buildproviders"
I encounter a problem copying all of my files (WebApplication) into my company's domain name using FileZilla. When I test my company's domain address, it says "The element 'buildProviders' cannot be defined below the application...