using System;
using System.Windows.Forms;
namespace XSD_Demo
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void userInfoBindingNavigatorSaveItem_Click(object sender, EventArgs e)
{
//this simple command will save the entire in-memory dataset to a disk file.
dataSet1.WriteXml("mydata.xml");
}
}
}