Name

AddNew

Synopsis


DataRowView = DataView.AddNew();

Inserts a new row into the underlying DataTable and returns a DataRowView object that represents the new row. The DataView.AddNew( ) method immediately adds the new row to the DataTable and implicitly calls BeginEdit( ) on the row. You must set all required values (values for columns that don’t allow nulls and don’t have default values) and then call DataRowView.EndEdit( ) to commit changes.