I need to iterate the columnname and column datatype from a specific row. All of the examples I have seen have iterated an entire datatable. I want to pass a single row to a
You need something like this:
foreach(DataColumn c in dr.Table.Columns) { MessageBox.Show(c.ColumnName); }