I want to create a XML file to store data using a dataset in c#. The classes are as follows

public class Person
{
  [Key]
  public string id { get; set; }
  public string name { get; set; ,c#,xml,datatable"/>
	














首页 > 解决方案 > 在c#中将数据表转换为XML,其中一些项目是列表

I want to create a XML file to store data using a dataset in c#. The classes are as follows

public class Person
{
  [Key]
  public string id { get; set; }
  public string name { get; set;