错误提示之:DataTable已属于另一个DataSet。 在将DataTable添加到DataSet的程序当中出现此错误。 解决方法:将添加DataTable更改为添加DataTabel的复本。 ds.Tables.Add(dt.Copy());