O'Reilly logo

Programming Microsoft® ADO.NET 2.0 Core Reference, 2nd Edition by David Sceppa

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required