ComponentOne DataObjects for .NET
AddNew Method (C1DataView)

C1.Data.2 Assembly > C1.Data Namespace > C1DataView Class : AddNew Method
Adds a new row to the data view.
Syntax
'Declaration
 
Public Function AddNew() As C1DataRow
public C1DataRow AddNew()
Remarks
This method creates a new empty row and adds it to the source data table of the data view. The new row is filled only with default values, so it may not satisfy the filter conditions if some are set in the RowFilter property. However, even if this new row does not satisfy filter conditions, it is always included in the data view until EndEdit is called, at which time the row is tested for filter conditions and either remains in the data view or not depending on the filter condition.
See Also

Reference

C1DataView Class
C1DataView Members
Adding Rows and Primary Keys