DataView::AllowNew Property

 

Gets or sets a value that indicates whether the new rows can be added by using the AddNew method.

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

public:
property bool AllowNew {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true, if new rows can be added; otherwise, false.

The following example sets the AllowNew property to true before adding a new row with the AddNew method.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: