SyntaxFix
Write A Post
Hire A Developer
Questions
You can check this out. Use foreach loop over a DataColumn provided with your DataTable.
foreach(DataColumn column in dtTable.Columns) { // do here whatever you want to... }