Which method do you invoke on the DataAdapter control to
load your generated dataset with data?

Answers were Sorted based on User's Feedback



Which method do you invoke on the DataAdapter control to load your generated dataset with data?..

Answer / kamalakannan.a

SqlDataAdapter adap=new SqlDataAdapter("Select * from
temp",Conn);

DataSet ds = new DataSet();

//Here we load the table to dataset
adap.Fill(ds);

Is This Answer Correct ?    10 Yes 0 No

Which method do you invoke on the DataAdapter control to load your generated dataset with data?..

Answer / pushpendra singh

Fill() method of DataAdapter

SqlDataAdapter da=new SqlDataAdapter();
DataSet ds=new DataSet();
da.Fill(ds);

Is This Answer Correct ?    4 Yes 0 No

Which method do you invoke on the DataAdapter control to load your generated dataset with data?..

Answer / rahul ecimt

SqlDataAdapter da=new SqlDataAdapter ()
DataSet ds=new DataSet ()
da.Fill(ds)

Is This Answer Correct ?    4 Yes 1 No

Which method do you invoke on the DataAdapter control to load your generated dataset with data?..

Answer / ansu kuamr

we invoke
dataadapter.update(dataset)

Is This Answer Correct ?    4 Yes 6 No

Post New Answer

More ADO.NET Interview Questions

What is executescalar and executenonquery?

0 Answers  


What are the 3 major types of connection objects in ado.net?

0 Answers  


Define bubbled event?

0 Answers  


What is the difference between linq and ado.net?

0 Answers  


What you mean by filtering of data?

0 Answers  






What are the various methods provided by the DataSet object to generate XML?

0 Answers  


Which components of a data provider is used to retrieve, insert, delete, or modify data in a data source?

0 Answers  


What is dbcontext and dbset in entity framework?

0 Answers  


What is difference between datatable and dataset?

0 Answers  


Explain how to bind the controls(best practice) comboboxes to the data in the dataset?

0 Answers  


how to keep track of index in listbox items.

2 Answers  


How can we load multiple tables in a dataset?

0 Answers  


Categories