AddNew Method

DataView.AddNew Method ()

 

Adds a new row to the DataView.

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

abstract AddNew : unit -> DataRowView
override AddNew : unit -> DataRowView

Return Value

Type: System.Data.DataRowView

A new DataRowView object.

The following example uses the AddNew method to return a new DataRowView that has been added to the DataTable.

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

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft