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.
Illustrate some of the points regarding CustomControls in WPF?
Differentiate between the default skin and the named skin?
How we can decide whether we should deploy application or publish application?
Is it possible to set which kind of comparison we want to perform by the CompareValidator control?
Explain WebParts controls in ASP.NET and in what way we can provide WebParts control functionality to the server control?
Explain the function of break statement in a switch statement with example?
How docking is different from anchoring?
What do you mean by Cookie?
Write the difference between server-side validations and client-side in Web pages?
Can I employ Windows Forms in the WPF application? Give reasons.
18,76,764
1947723 Asked
3,689
Active Tutors
1424019
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!