How can you add or remove rows from the DataTable object of DataSet?

The DataRowCollection class defines the collection of rows for the DataTable object in a DataSet. The DataTable class provides the NewRow() method to add a new DataRow to DataTable. The NewRow method creates a new row, which implements the same schema as applied to the DataTable. The following are the methods provided by the DataRowCollection object:

Add() - Adds a new row to DataRowCollection.

Remove()- Removes a DataRow object from DataRowCollection.

RemoveAt() - Removes a row whose location is specified by an index number.