I stored a result set from an sql query into a DataTable. I want to get a DataColumn with a particular name into a DataColumn object. How do I do it ?
Pseudocode -
DataTable dt = Already set. Don't worry about it.
string columnName = "Address";
DataColumn col = dt.getColumn(columnName)
Can you show me how this would be done in C# ?