摘要:
+方法一: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[" 阅读全文