BaseDataList.IsBindableType Method
.NET Framework 3.0
Determines whether the specified data type can be bound to a list control that derives from the BaseDataList class.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
BaseDataList Members
System.Web.UI.WebControls Namespace
System.Type
System.DateTime
System.Decimal
Type.IsPrimitive
System.Boolean
System.Byte
System.SByte
System.Int16
System.UInt16
System.Int32
System.UInt32
System.Int64
System.UInt64
System.Char
System.Double
System.Single
System.String
Assembly: System.Web (in system.web.dll)
public static boolean IsBindableType ( Type type )
public static function IsBindableType ( type : Type ) : boolean
Not applicable.
Parameters
- type
A System.Type that contains the data type to test.
Return Value
true if the specified data type can be bound to a list control that derives from the BaseDataList class; otherwise, false.Use the IsBindableType static method to determine whether the specified data type can be bound to a list control that inherits from the BaseDataList class. The supported data types are System.Boolean, System.Byte, System.SByte, System.Int16, System.UInt16, System.Int32, System.UInt32, System.Int64, System.UInt64, System.Char, System.Double, System.Single, System.DateTime, System.Decimal, and System.String.
Reference
BaseDataList ClassBaseDataList Members
System.Web.UI.WebControls Namespace
System.Type
System.DateTime
System.Decimal
Type.IsPrimitive
System.Boolean
System.Byte
System.SByte
System.Int16
System.UInt16
System.Int32
System.UInt32
System.Int64
System.UInt64
System.Char
System.Double
System.Single
System.String
Community Additions
ADD
Show: