C # pair XML operation: write a XML record (2)

xiaoxiao2021-03-05  26

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, With some built-in methods and attributes to operate XML, very flexible, we continue to assume, existing XML files, as follows:

Outrace

mypass

TRACE

mypass

The following code is written by writing <% @ Import namespace = "system.io"%>

<% @ Import namespace = "system.xml"%>

<% @ Import namespace = "system.data"%>