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

0 Answers   UGC Corporation,


Why is stored procedure used in ado.net?

0 Answers  


How to pass values into a datatable?

0 Answers  


What is different between sqlcommand object and command behavior object?

0 Answers  


Define partial class?

0 Answers  






What are the advantages of oledb compared with other classes?

0 Answers  


Call a stored procedure from ado.net and pass parameter to it ?

7 Answers   Keane India Ltd, TCS,


What is the significance of CommandBehavior.CloseConnection ?

0 Answers   NA,


can u tell me the how to get the print for the form

2 Answers   Crea,


What is maximum pool size in ado.net connection string?

0 Answers  


What is an ado connection?

0 Answers  


what is trigger?

8 Answers   Microsoft, Precept Technology,


Categories