C # pairs XML operation: write a XML record using DataSet (2)

xiaoxiao2021-03-19  203

C # Operation XML Preliminary (5) Chapter 2: Add a record to the existing XML file to add another C # and provide a more convenient way to operate XML, that is, the Dataset is actually what we think that Dataset is actually a plurality of XML files, Operate XML by DataSet Some built-in methods and attributes

Often Flex us Continue to assume that existing XML files are as follows:

Outrace mypass TRACE mypass

Writing operation by the following code

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