how to get every rowindex with foreach datatable code example
Example: c# datatable current row
CurrencyManager cm = (CurrencyManager) this.BindingContext[this.gridDataBoundGrid.DataSource, this.gridDataBoundGrid.DataMember];
DataRow dr = ((DataRowView) cm.Current).Row;
this.label1.Text = dr["Col"].ToString();