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.
Explain the characteristics of the value-type variables which are supported in a C# programming language.
What is the basic difference between a content page and a master page?
Explain, what is a host process?
What do you mean by the term delegate, why must you use it and explain how do you call it?
State the method which can be used to impose Garbage collection in .NET?
How docking is different from anchoring?
Explain MaskedTextBox control and what does the Mask property do?
State the function of the “Try-Catch-Finally” block
Explain briefly about server-side comments and also write its syntax?
Differentiate between the default skin and the named skin?
18,76,764
1945875 Asked
3,689
Active Tutors
1439644
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!