DataTable dt = new DataTable();

dr=所要添加到dt的DataRow。

dt.Rows.Add(dr[);
//出错提示为:该行已经属于另一个表

解决方法
dt.Rows.Add(dr.ItemArray);

相关文章: