
How is Dataadapter useful in ADO.NET?Dataadapters
are used to connect Dataset object to a set of command objects. To
fetch data from the database and display them in the datatables of dataset.
This is achieved using Fill method of dataadapter. There are
four different types of Dataadapters. Their purpose and usage is mentioned
below:
OleDbDataAdapter: Dataadapters used to interact with databases
through OLE DB provider. It belongs to System.Data.OleDb namespace. Dataadapter
has four different properties which controls database updates. The properties
are SelectCommand, UpdateCommand, InsertCommand and DeleteCommand. These
commands are used to read, update, add and delete records from a database
respectively.
_______________________________________________________________________
FREE
Subscription
Subscribe
to our mailing list and receive new articles Note
: We never rent, trade, or sell my email lists to Visit
.NET Programming Tutorial Homepage ______________________________________________________ |