1.

How Can We Add/remove Row Is In "data Table" Object Of "dataset"?

Answer»

“Data table” PROVIDES “NewRow” method to add NEW row to “Data Table”. “Data Table” has “DataRowCollection” OBJECT that has all rows in a “Data Table” object.

Following are the methods provided by “DataRowCollection” object:-

Add
Adds a new row in Data Table.

REMOVE
It removes a “Data Row” object from “Data Table”.

Remove At
It removes a “Data Row” object from “Data Table” depending on INDEX position of the “Data Table”.

“Data table” provides “NewRow” method to add new row to “Data Table”. “Data Table” has “DataRowCollection” object that has all rows in a “Data Table” object.

Following are the methods provided by “DataRowCollection” object:-

Add
Adds a new row in Data Table.

Remove
It removes a “Data Row” object from “Data Table”.

Remove At
It removes a “Data Row” object from “Data Table” depending on index position of the “Data Table”.



Discussion

No Comment Found