How can we Add or Remove rows from the DataTable object of DataSet?

 Posted by vishalneeraj-24503 on 12/11/2013 | Category: ADO.NET Interview questions | Views: 907 | Points: 40

With the help of Add,Remove and RemoveAt method,we can Add or Remove rows from the DataTable.


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.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response