Click here to Skip to main content
14,299,406 members
   

C#

 
GeneralRe: Digital Signatures Pin
led mike18-Jul-08 8:47
memberled mike18-Jul-08 8:47 
GeneralRe: Digital Signatures Pin
stormcandi18-Jul-08 8:50
memberstormcandi18-Jul-08 8:50 
QuestionXML Reorder Pin
H@is@here18-Jul-08 5:56
memberH@is@here18-Jul-08 5:56 
AnswerRe: XML Reorder Pin
led mike18-Jul-08 6:46
memberled mike18-Jul-08 6:46 
GeneralRe: XML Reorder Pin
H@is@here18-Jul-08 7:05
memberH@is@here18-Jul-08 7:05 
AnswerRe: XML Reorder Pin
Mbah Dhaim18-Jul-08 7:05
memberMbah Dhaim18-Jul-08 7:05 
GeneralRe: XML Reorder Pin
H@is@here18-Jul-08 7:20
memberH@is@here18-Jul-08 7:20 
AnswerRe: XML Reorder Pin
Scott Dorman18-Jul-08 7:56
professionalScott Dorman18-Jul-08 7:56 
The better question is...does it really matter? XML wasn't designed for and isn't intended to be human-readable; it was designed to provide a consistent structure for data. The fact that you have a schema doesn't define the order of elements other than to indicate what elements are valid subelements of another element. As long as the XML structure matches the structure defined in the schema everything is happy. The fact that an element is listed first or third doesn't matter.

As to the reason it is reordering, there are several possibilities. The most likely one is that the XmlSerializer doesn't guarantee order. It is going to write out the XML in the order defined by the Datatable/Dataset.

Scott Dorman
Microsoft® MVP - Visual C# | MCPD
President - Tampa Bay IASA

[Blog][Articles][Forum Guidelines]
Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai

GeneralRe: XML Reorder Pin
led mike18-Jul-08 8:50
memberled mike18-Jul-08 8:50 
GeneralRe: XML Reorder Pin
H@is@here18-Jul-08 12:05
memberH@is@here18-Jul-08 12:05 
JokeRe: XML Reorder Pin
Mbah Dhaim18-Jul-08 12:17
memberMbah Dhaim18-Jul-08 12:17 
GeneralRe: XML Reorder Pin
Scott Dorman18-Jul-08 12:25
professionalScott Dorman18-Jul-08 12:25 
GeneralRe: XML Reorder Pin
H@is@here18-Jul-08 12:34
memberH@is@here18-Jul-08 12:34 
QuestionFow to find row number from which new row was added to DataGridView Pin
AndrusM18-Jul-08 5:22
memberAndrusM18-Jul-08 5:22 
AnswerRe: Fow to find row number from which new row was added to DataGridView Pin
Parwej Ahamad18-Jul-08 6:26
professionalParwej Ahamad18-Jul-08 6:26 
Questionhelp me: 'XPExplorerBar' Pin
dangquoctrang18-Jul-08 4:43
memberdangquoctrang18-Jul-08 4:43 
AnswerRe: help me: 'XPExplorerBar' Pin
Luc Pattyn18-Jul-08 4:51
professionalLuc Pattyn18-Jul-08 4:51 
Questionhelp me: 'XPExplorerBar' Pin
dangquoctrang18-Jul-08 4:43
memberdangquoctrang18-Jul-08 4:43 
Questionhelp me: 'XPExplorerBar' Pin
dangquoctrang18-Jul-08 4:43
memberdangquoctrang18-Jul-08 4:43 
AnswerRe: help me: 'XPExplorerBar' Pin
Luc Pattyn18-Jul-08 4:50
professionalLuc Pattyn18-Jul-08 4:50 
GeneralRe: help me: 'XPExplorerBar' Pin
Judah Gabriel Himango18-Jul-08 6:14
memberJudah Gabriel Himango18-Jul-08 6:14 
GeneralRe: help me: 'XPExplorerBar' Pin
Luc Pattyn18-Jul-08 6:23
professionalLuc Pattyn18-Jul-08 6:23 
GeneralRe: help me: 'XPExplorerBar' [modified] Pin
Judah Gabriel Himango18-Jul-08 7:43
memberJudah Gabriel Himango18-Jul-08 7:43 
AnswerRe: help me: 'XPExplorerBar' Pin
Judah Gabriel Himango18-Jul-08 6:08
memberJudah Gabriel Himango18-Jul-08 6:08 
QuestionWeb Interface for a Windows Application??? Pin
Preetham.N18-Jul-08 3:59
memberPreetham.N18-Jul-08 3:59 

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.