ds.ReadXmlSchema(Server.MapPath(sXSDUrl));
if (ds != null && ds.Tables[0] != null && ds.Tables[0].Columns.Count != 0)
{
List<string> L = new List<string>();
foreach (var item in ds.Tables[0].Columns)
{
L.Add(item.ToString());
}
}
转载于:https://my.oschina.net/u/2446847/blog/1536234