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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between connected and disconnected architecture in ado.net?

841


How can we load multiple tables in a dataset?

766


What is different between sqlcommand object and command behavior object?

729


What is method to get XML and schema from Dataset? getXML() and get Schema ()

748


What is acid in ado.net?

710


What is the difference between Optimistic and Pessimistic locking?

738


What are the advantages using ado.net?

732


What are three methods for displaying data in a syncfusion datagrid

803


Which one of the objects is a high-level abstraction of the connection and command objects in ado.net?

870


What is the use of ADO.NET and XML web services?

787


What is row state?

702


Explain sqlconnection object?

747


What are the ado.net connection pooling parameters?

644


Explain what are acid properties?

754


What is difference between executequery and executeupdate?

691