Gets the column data type at the specified position.
Syntax
Visual Basic (Declaration) | |
---|
Public Function GetDataColumnType( _
ByVal column As Integer _
) As Type |
Parameters
- column
- Column index for which type is requested
Return Value
Type object containing the data type of the specified column of the bound data source
Exceptions
Example
This example returns the system type of the data field for the specified column.
C# | Copy Code |
---|
|
Visual Basic | Copy Code |
---|
|
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also