(部分引用)請參考來源:[C#.NET][XML] XSD Convert XML
--
private void button1_Click(object sender, EventArgs e)
{
DataSet ds = new DataSet();
ds.ReadXml("Employee.xsd");
foreach (DataTable table in ds.Tables)
{
Debug.WriteLine(table.TableName);
}
DataTable t = new DataTable("EmpInfo");
t.ReadXml("Employee.xsd");
}
沒有留言:
張貼留言