DataView Object Reference

In Table 8-2, you’ll find all the properties of the DataView class.

Table 8-2. Properties of the DataView Class

Property

Data Type

Description

AllowDelete

Boolean

Specifies whether rows in the DataView can be deleted. (Default = True)

AllowEdit

Boolean

Specifies whether rows in the DataView can be edited. (Default = True)

AllowNew

Boolean

Specifies whether rows can be added to the DataView. (Default = True)

ApplyDefaultSort

Boolean

Specifies whether the default sort (primary key) is used. (Default = False)

Count

Integer

Returns the number of rows visible in the DataView. (Read-only)

DataViewManager

DataViewManager

Returns a reference to the DataView object’s DataViewManager. (Read-only)

IsInitialized

Boolean

Indicates whether the DataView has ...

Get Programming Microsoft® ADO.NET 2.0 Core Reference, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.