ComponentOne ADO.NET DataExtender
C1.C1DataExtender.2 Assembly / C1.C1DataExtender Namespace / C1DataView Class / AllowNew Property

In This Topic
    AllowNew Property (C1DataView)
    In This Topic
    Gets or sets a value indicating whether addition of new rows is permitted for this C1DataView.
    Syntax
    'Declaration
     
    Public Property AllowNew As System.Boolean
    public System.bool AllowNew {get; set;}
    Remarks
    This property value is inherited by default from the C1.C1DataExtender.SchemaExtender.DataTableExtender.AllowNew property values of C1.C1DataExtender.SchemaExtender.DataTableExtender objects from the BaseSchemaTables collection that corresponds to "Main" table nodes (see Composite View Definition topic for details on "Main" and "Lookup" table nodes). If C1.C1DataExtender.SchemaExtender.DataTableExtender.AllowNew property values are true for all "Main" tables then default value is true; otherwise, false.

    You can change this value to false only if default calculated value is true. You can't change default false value to true.

    See Also