public static bool ColumnExists( SqlConnection connection, string tableName, string columnName )
Parameters
- connection
- the sql connection
- tableName
- Name of the table to look in
- columnName
- Name of the column to check for
Return Value
True if the column exists within the table, false otherwise.