Click here to Skip to main content
15,867,785 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to Improve Win From's Graphics !! Pin
Robert Rohde19-Apr-06 4:48
Robert Rohde19-Apr-06 4:48 
Questiondataset problem Pin
Khepry19-Apr-06 3:17
Khepry19-Apr-06 3:17 
AnswerRe: dataset problem Pin
LongRange.Shooter19-Apr-06 3:30
LongRange.Shooter19-Apr-06 3:30 
Questionpopup menu Pin
vatzcar19-Apr-06 3:11
vatzcar19-Apr-06 3:11 
AnswerRe: popup menu Pin
LongRange.Shooter19-Apr-06 3:26
LongRange.Shooter19-Apr-06 3:26 
QuestionEditing an XML node in C# Pin
AnneThorne19-Apr-06 2:48
AnneThorne19-Apr-06 2:48 
AnswerRe: Editing an XML node in C# Pin
LongRange.Shooter19-Apr-06 3:19
LongRange.Shooter19-Apr-06 3:19 
AnswerRe: Editing an XML node in C# Pin
conrado719-Apr-06 3:32
conrado719-Apr-06 3:32 
Maybe these piece of code will help you:

1) if you want create xml file with C# you can use example:
XmlDocument myXml = new XmlDocument();<br />
			string xml_text = "<?xml version=\"1.0\" standalone=\"yes\"?>"+<br />
				"<!DOCTYPE label ["+<br />
                                "<!ELEMENT name (#PCDATA)>"+<br />
                                "<!ELEMENT type (#PCDATA)>"+<br />
				"<!ELEMENT value (choicelist+,choicevalue+)>"+<br />
				"<!ELEMENT choicelist (#PCDATA)>"+<br />
				"<!ELEMENT choicevalue (#PCDATA)>"+<br />
				"<label></label>";<br />
<br />
			myXml.LoadXml(xml_text);


2) if you want open xml document use exmaple:

XmlDocument myXml = new XmlDocument();<br />
			XmlTextReader reader = new XmlTextReader(file_name);<br />
			myXml.Load(reader);<br />
			reader.Close();


3) if you want save you xml document you can use example:

XmlTextWriter writer = new XmlTextWriter("output.xml",null);<br />
			writer.Formatting = Formatting.Indented;<br />
			dokumentXml.Save(writer);<br />
			writer.Close();


Best way to learn this is MSDN like http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vborixmlschemadesignerwalkthroughs.asp
QuestionBluetooth in C# Pin
hschutte19-Apr-06 2:21
hschutte19-Apr-06 2:21 
AnswerRe: Bluetooth in C# Pin
LongRange.Shooter19-Apr-06 3:24
LongRange.Shooter19-Apr-06 3:24 
QuestionHTMLdocument and Webclient/Webbrowser Pin
ranzask19-Apr-06 2:12
ranzask19-Apr-06 2:12 
AnswerRe: HTMLdocument and Webclient/Webbrowser Pin
Ed.Poore19-Apr-06 9:19
Ed.Poore19-Apr-06 9:19 
AnswerRe: HTMLdocument and Webclient/Webbrowser Pin
Ravi Bhavnani19-Apr-06 9:26
professionalRavi Bhavnani19-Apr-06 9:26 
GeneralRe: HTMLdocument and Webclient/Webbrowser Pin
ranzask19-Apr-06 9:40
ranzask19-Apr-06 9:40 
GeneralRe: HTMLdocument and Webclient/Webbrowser Pin
Ravi Bhavnani19-Apr-06 9:47
professionalRavi Bhavnani19-Apr-06 9:47 
QuestionThreading program Pin
eric_tran19-Apr-06 1:52
eric_tran19-Apr-06 1:52 
AnswerRe: Threading program Pin
LongRange.Shooter19-Apr-06 5:26
LongRange.Shooter19-Apr-06 5:26 
GeneralRe: Threading program Pin
eric_tran19-Apr-06 5:48
eric_tran19-Apr-06 5:48 
QuestionUninstall link in deployment project Pin
Stefan Troschuetz19-Apr-06 1:41
Stefan Troschuetz19-Apr-06 1:41 
Questiondiscusiion forum Pin
prgramya19-Apr-06 1:41
prgramya19-Apr-06 1:41 
AnswerRe: discusiion forum Pin
J4amieC19-Apr-06 2:36
J4amieC19-Apr-06 2:36 
AnswerRe: discusiion forum Pin
LongRange.Shooter19-Apr-06 3:57
LongRange.Shooter19-Apr-06 3:57 
QuestionDetect when new application opened? Pin
Werner Vos19-Apr-06 1:32
Werner Vos19-Apr-06 1:32 
QuestionDirectoryNotFoundException when directory does exist Pin
sergestusxx19-Apr-06 1:19
sergestusxx19-Apr-06 1:19 
AnswerRe: DirectoryNotFoundException when directory does exist Pin
mav.northwind19-Apr-06 2:00
mav.northwind19-Apr-06 2:00 

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

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