SIGN UP MEMBER LOGIN:    
Blog

Public methods of DbDataTable Class Members

Posted by Monika Arora Blogs | SQLite Feb 02, 2012
In this blog, I have explained some of the members of DbDataTable Class which are AcceptChanges, BeginFill, EndFill, ImportRow, Open etc.

Some of the public methods of DbDataTable Class Members are as follows:

AcceptChanges :
It makes permanent all of the changes that are made to a DataTable since the previous time Accept Changes was called. System.Data.DataTable is the base class for this method.

BeginFill:
This method begins an asynchronous execution of the Fill method.

EndFill:
It finishes an asynchronous execution of the Fill method.

ImportRow:
It makes a copy of the DataRow into a DataTable ,saves all the settings of property,real and current values. System.Data.DataTable is the base class for this method.

Open:
It obtains data and fixes the property named "Active" with a True value. Active property checks whether the DbDataTable contains the data from datasource or not. It also fixes the value according to the status.

Read:
If DbDataTable executes in connected model, this method reads the next data row.

ReadComplete:
It places that particular data in a row which is not obtained in the initial operation of Fill.

Reset :
It again sets the DataTable to its real state. System.Data.DataTable is a base class for "Reset" method.

Update:
It runs the particular commands for removing, adding or modifying rows in the data source. There is a method "Update Rows" which do the same work.

Clear:
It removes everything from DbDataTable and ends Fill operation.

CancelFetch:
It ends asynchronous fill execution.

share this blog :
post comment