Removing rows from a DataTable object of DataSet
By which method we can add or remove rows from a DataTable object of DataSet?
Expert
DataRowCollection class defines a collection of the rows for DataTable object in the DataSet. DataTable class make available a NewRow() method to add the new DataRow to a DataTable. NewRow method produces the new row that implements a same schema which is applied to a DataTable.
The methods which are provided by DataRowCollection object are as follows:
• RemoveAt() – It removes the row whose location is specified with the index number. • Remove()- It removes the DataRow object from the DataRowCollection. • Add() – It adds the new row to the DataRowCollection.
Write down a brief note regarding rapid application development tool?
Illustrate the difference between the .dll extension and .exe extension files?
What are the components of web form in ASP.NET?
What are the enrichment in the ClickOnce deployment in the .NET 4.0?
Distinguish between toolstrip drop-down button and toolstrip split button?
State the difference between Managed and Unmanaged Code?
Explain what is a Static Constructor?
Write the code to choose an item in a ListView control programmatically in the C#?
What do you mean by the term XML Infoset?
By which method we can post a Web page to another Web page?
18,76,764
1935985 Asked
3,689
Active Tutors
1447373
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!