DataSet

DataSet ds = new DataSet(); 
DataTable dt= new DataTable("Customers"); 
ds.Tables.Add(dt); //添加这个表
读取DataSet中某一个DataTable:
dt=ds.Tables[0];//指定第0个表
dt=ds.Tables["Customers"];//指定表名为“Customers”的表
原文地址:https://www.cnblogs.com/enych/p/8282616.html