System.Web.UI.WebControls Namespace BaseDataList Class
Determines if the specified data type is bindable to the BaseDataList control.
[ VB ]
Public Shared Function IsBindableType ( _
ByVal type As Type _
) As Boolean
[ C# ]
public static bool IsBindableType (
Type type
);
[ C++ ]
public: static bool IsBindableType (
Type* type
);
[ JScript ]
public static function IsBindableType (
type : Type
) : Boolean;
- type
- A System.Type that contains the data type to test.
This method returns only a boolean value: true if the specified data type can be bound to the control; otherwise false.
Use this method to determine whether the specified data type is bindable to a list control that inherits from the BaseDataList class. The supported data types are Boolean, Byte, SByte, Int16, UInt16, Int32, UInt32, Int64, UInt64, Char, Double, Single, DateTime, Decimal, and String.
BaseDataList Members