日期:2008-07-13 浏览次数:20398 次
Write relational data to an XML file |
Submitted By | User Level | Date of Submission |
Mahesh Chand | Beginner | 03/15/2001 |
ADODataSetCommand adoCmd = new ADODataSetCommand( "SELECT * FROM myTable", "Provider=Microsoft.JET.OLEDB.4.0;data source=mydb.mdb" ); DataSet ds = new DataSet(); adoCmd.FillDataSet(ds,"myTable"); ds.WriteXMLData("reldata.XML"); |