SyntaxFix
Write A Post
Hire A Developer
Questions
this works for me:
bool hasColumnName = reader.GetSchemaTable().AsEnumerable().Any(c => c["ColumnName"] == "YOUR_COLUMN_NAME");