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

Define Execute Reader?

0 Answers  


Can we bind one datareader wid two dropdown list?

5 Answers  


What is the use of data grid?

0 Answers  


WHAT IS DIFF B/W VIEWS AND STORED PROCEDURE

2 Answers  


Can datareader hold data from multiple tables?

0 Answers  


List the 4 common ado.net namespaces?

0 Answers  


What is sequence of code in retrieving data from database ?

3 Answers   Accenture, BirlaSoft,


What connected data?

0 Answers  


What are the advantages of oledb compared with other classes?

0 Answers  


What is Data view?

0 Answers  


What is the difference between data grid and data repeater?

0 Answers  


What providers does Ado.net uses?

0 Answers  


Categories