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 provider ado.net use by default? Explain the role of data provider in ado.net?

0 Answers  


What is difference between dataset and datatable?

0 Answers  


What are the two fundamental objects in ADO.NET?

6 Answers  


What is the difference between typed and untyped dataset?

0 Answers  


What is concurrency? How will you avoid concurrency when dealing with dataset? (One user deleted one row after that another user through his dataset was trying to update same row. What will happen? How will you avoid the problem?)

0 Answers  






What does ADO.NET consists of ?

7 Answers   TCS,


Which object of ado contains datarow datacolumn collection?

0 Answers  


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

0 Answers  


Which architecture does Datasets follow?

0 Answers  


Execute nonquery returns no. of afected rows.So if my stored procedure hav lot of select stmnt, delete stmnt, insert stmnt..then what does execute nonquery returns in this case?

6 Answers   Wipro,


What are the ado.net connection pooling parameters?

0 Answers  


what is the difference betwen typed dataset and untyped dataset?in general which dataset can we use in programming?

0 Answers   EDS,


Categories