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 the syntax of the while loop in the C# program.
Illustrate in .NET about different types of directives?
Briefly explain about identifier.
What Global.asax file includes in event handlers?
What is Custom Activities?
What do you mean by the term MISL CODE? Describe in brief.
Write the difference between adding items into cache by a Add() method and by the Insert() method?
In what way we can display the icon during runtime on a StatusStrip control?
Write the different types of literals used in C #?
Write the difference between System.StringBuilder and System.String classes?
18,76,764
1923626 Asked
3,689
Active Tutors
1428682
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!