https://www.cnblogs.com/soany/p/5297400.html
DataTable dt = dataSet.Tables[0];
for(int i = 0 ; i < dt.Rows.Count ; i++)
{
string strName = dt.Rows[i]["字段名"].ToString();
}
foreach(DataRow myRow in myDataSet.Tables["temp"].Rows)
{
var str = myRow[0].ToString();
}
foeach(DataRow dr in dt.Rows)
{
object value = dr["ColumnsName"];
}
DataTable dt=new DataTable();
foreach(DataRow dr in dt.Rows)
{
for(int i=0;i<dt.Columns.Count;i++)
{
dr[i];
}
}