GetOrdinal Method (SqlDataReader)
 
            
                In This Topic
            
            Gets the column ordinal, given the name of the column.
            
            
            Syntax
            
            
            
            
            'Declaration
 
Public Overrides Function GetOrdinal( _
   ByVal  As String _
) As Integer
             
        
            
            public override int GetOrdinal( 
   string 
)
             
        
             
        
            Parameters
- name
 
- The name of the column.
 
            
            Return Value
The column ordinal.
 
            
            
            
            
            
            
            
            
            
            
            
            See Also