GridView.IsBindableType(Type) Method

Definition

Determines whether the specified data type can be bound to a column in a GridView control.

C#
public virtual bool IsBindableType(Type type);

Parameters

type
Type

A Type that represents the data type to test.

Returns

true if the specified data type can be bound to a column in a GridView control; otherwise, false.

Remarks

The IsBindableType method is a helper method that is commonly used by control developers to programmatically determine whether the specified data type can be bound to a column in a GridView control. The following data types can be bound to a column in a GridView control:

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also