Interviews5 answers
What is DataAdapter?
5 Answers
ADO.NET provides two central Data Access Components. The excellent thing is that, they are common across all Databases, be it SQL Server or other competitive databases. Its only the namespace to be used, that differs, while using a Database other than SQL Server.
Bharathi RajaPosted Jan 28, 2018, 5:42 PM EST
DataAdapter is a class which is defined is System.Data Namespace
which is directly communicates with the central databases it will fetch the data from the databases and fills that data into the datasets
Srinivas PabballaPosted Aug 28, 2015, 12:44 AM EDT
DataAdpter is Bridge between database and dataset/Datatable .
Lalit RaghavPosted May 12, 2015, 11:14 PM EDT
http://vb.net-informations.com/ado.net-dataproviders/ado.net-dataadapter.htm
Munesh SharmaPosted Apr 12, 2014, 2:21 AM EDT
SqlDataadapter is a interface between database and Ado.Net.
dataadapter retrive data from database and fill in datatable using Fill method of dataadapter.
For example:
datatable _dt=new datatable();
sqlcommand cmd=new sqlcommand();
cmd.commandtype=commandtype.text;
cmd.text="select * from tablename";
sqldataadapter ad=new sqldataadapter(cmd);
ad.fill(_dt);
gdvbind.datasource=_dt;
gdvbind.databind();
Priti KumariPosted Jul 1, 2013, 9:40 PM EDT




