C # pairs XML: Use DataSet to edit the contents of XML file

xiaoxiao2021-03-19  228

C # Operation XML Preliminary (5) Chapter 3: The editing of XML file record uses C # to edit XML files, the most convenient method is of course still using DataSet we continue to use the XML file in the previous article, as follows:

XMLns: MSData = "URN: Schemas-Microsoft-COM: XML-MSDATA"> < Xs: choice maxoccurs = "unbounded">

MSData: ORDINAL = "0" />

MSData: Ordinal = "1" /> Outrace mypass Trace mypass new user new passwd

.aspx

<% @ Import namespace = "system.io"%> <% @ Import namespace = "system.xml"%> <% @ import namespace = "system.data"%>