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 datatable?

3 Answers  


Write steps of retrieving data using ado.net ?

3 Answers   Keane India Ltd,


What are different layers of ADO.Net?

1 Answers  


What are the several execute methods of ado.net?

1 Answers  


Why is stored procedure used in ado.net?

1 Answers  


What is shadow copy?

1 Answers  


What is the difference between an ADO.NET Dataset and an ADO Recordset?

1 Answers  


Describe datareader object of ado.net with example.

1 Answers  


How to get the new oledb connection of oracle in database programming?

1 Answers  


What is typed dataset ?

1 Answers   NA,


What is namespace in ado.net?

1 Answers  


What is dbcontext and dbset in entity framework?

1 Answers  


Categories