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
use DataTable object instead:
private void doMore(DataTable dt) { foreach(DataColumn dc in dt.Columns) { MessageBox.Show(dc.ColumnName); } }