An Extension Method to Pass a Column Name to SqlDataReader.GetFieldValue Let's combine the SqlDataReader's GetFieldValue and GetOrdinal methods into an extension method that lets us pass a column name and get back a specific type.