Use OleDb objects to convert database tables into XML file of all: Meng will come from: [it] would be a wonderful world Meng Date: 2003 at 12:00:00 on April 16
ASP.NET Dataset allows you to provide convenience to files in the XML format in the page. How do you convert all in a database? If your database is compatible with OLEDB, look at how to convert all tables in the database into XML files. The file name is the same as the name of the table in the database. This code contains two versions: C # versions and VB.NET versions.
C # version: <% @ page language = "c #"%> <% @ import namespace = "system"%> <% @ import namespace = "system.data"%> <% @ import namespace = "system.data.oledb "%>