Click here to Skip to main content
       

C#

 
AnswerRe: vs.net 2010 exe on demo machine PinmemberSimon_Whale21-Nov-12 23:38 
GeneralRe: vs.net 2010 exe on demo machine PinmemberKrishnaRayalu_Talisetti21-Nov-12 23:41 
GeneralRe: vs.net 2010 exe on demo machine PinmemberSimon_Whale21-Nov-12 23:46 
QuestionSAP Dotnet Integration Pinmemberrohitnegi0921-Nov-12 21:14 
AnswerRe: SAP Dotnet Integration PinprotectorPete O'Hanlon21-Nov-12 22:39 
AnswerRe: SAP Dotnet Integration PinmemberV.21-Nov-12 23:12 
QuestionWrite XML Dynamically according to tree structure in windows c# Pinmemberrummer21-Nov-12 20:19 
AnswerRe: Write XML Dynamically according to tree structure in windows c# Pinmembermarkovl21-Nov-12 20:37 
Have a look at the XmlDocument class here[^].
Basically you'd create a XmlDocument object and add XmlElement [^] instances.
 
For example:
 
 
XmlDocument document = new XmlDocument();
 
// Create the root Account element.
XmlElement root = document.CreateElement("Account");
// Add attributes to the element
root.SetAttribute("SomeAttribute", "42");
// Add the element to the document's tree.
document.AppendChild(root);
 
// Create the child elements
XmlElement child = document.CreateElement("User1");
// Add the child to the root element
root.AppendChild(child);
 
// Create a grandchild
XmlELement grandchild = document.CreateElement("AccountSetting");
child.AppendChild(grandchild);
 
//etc, etc...

//Finally you could save the document to file:
document.Save(pathToMyXmlFile);
 
2A

AnswerRe: Write XML Dynamically according to tree structure in windows c# PinmemberPIEBALDconsult22-Nov-12 10:23 
QuestionUnit Test for LDAP Search PinmemberSFORavi21-Nov-12 15:10 
QuestionAutomatically Compiler Generated Unique Constants ? PinmemberC-P-User-321-Nov-12 13:01 
AnswerRe: Automatically Compiler Generated Unique Constants ? PinmemberEddy Vluggen21-Nov-12 13:16 
GeneralRe: Automatically Compiler Generated Unique Constants ? PinmemberC-P-User-321-Nov-12 13:34 
GeneralRe: Automatically Compiler Generated Unique Constants ? PinmemberEddy Vluggen21-Nov-12 13:40 
GeneralRe: Automatically Compiler Generated Unique Constants ? PinmemberC-P-User-321-Nov-12 13:52 
SuggestionRe: Automatically Compiler Generated Unique Constants ? PinmemberEddy Vluggen21-Nov-12 13:55 
GeneralRe: Automatically Compiler Generated Unique Constants ? PinmemberC-P-User-321-Nov-12 14:52 
GeneralRe: Automatically Compiler Generated Unique Constants ? PinmemberC-P-User-321-Nov-12 15:03 
GeneralRe: Automatically Compiler Generated Unique Constants ? PinmemberC-P-User-321-Nov-12 15:01 
GeneralRe: Automatically Compiler Generated Unique Constants ? PinmemberPIEBALDconsult21-Nov-12 16:27 
GeneralRe: Automatically Compiler Generated Unique Constants ? PinmemberEddy Vluggen21-Nov-12 21:08 
GeneralRe: Automatically Compiler Generated Unique Constants ? PinmvpRichard MacCutchan21-Nov-12 22:01 
GeneralRe: Automatically Compiler Generated Unique Constants ? PinmemberC-P-User-322-Nov-12 14:22 
GeneralRe: Automatically Compiler Generated Unique Constants ? PinmvpRichard MacCutchan22-Nov-12 23:24 
GeneralRe: Automatically Compiler Generated Unique Constants ? PinmemberBobJanova22-Nov-12 23:29 

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

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


Advertise | Privacy | Mobile
Web04 | 2.8.140415.2 | Last Updated 17 Apr 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid