Save DataSet as XML files XML and .NET is fully integrated, a lot of .NET's server control has one or more capabilities of creating XML files, and the DataSet class contains several ways to create XML files, here In the article, we will create an example of the connection between DataSet and XML, and this example is to read the data from the database to the DataSet object, and then output from the DataSet object to the XML file to the disk, of course We can also create a Schema file related to it for an XML file.
Save DataSet as the ASP.NET page file (.aspx) in the XML file, simple or even ridiculous, essentially, it does not contain a critical code, we need to do a prompt Information - "Complete", and the code that actually reflects the function is in the back code file of Code-Behind, below is the ASP.NET web page (.aspx): <% @ page language = "VB" src = "DataseTtoxml .aspx.vb "inherits =" DataSetToxml "%>