标签:
for (int i = 0; i < dataTable.Rows.Count; i++)
{
for (int j = 0; j < dataTable.Columns.Count; j++)
Console.WriteLine(dataTable.Rows[i][j].ToString());
}
用for循环遍历DataTable中的数据
原文地址:http://www.cnblogs.com/rookie-26/p/4566836.html