| 
								        
								         
								        How can we add/remove row’s in “DataTable” object of “DataSet”?- ‘NewRow’ method is provided by the ‘Datatable’ to add new row to it.- ‘DataTable’ has “DataRowCollection” object which has all rows in a “DataTable” object.
 - Add method of the DataRowCollection is used to add a new row in DataTable.
 - We fill it with data fetched from the data store. Once the work is done with the dataset, connection is reestablished
 - Remove method of the DataRowCollection is used to remove a ‘DataRow’ object from ‘DataTable’.
 - RemoveAt method of the DataRowCollection is used to remove a ‘DataRow’ object from ‘DataTable’ per the index specified in the DataTable.
 |