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 are all features of ADO.Net?

545


Why do we serialize data?

491


Explain the role of data provider in ado.net?

536


differance between ADO vs ADO.Net?

545


how we can fire event in databound coulm in datagfrid withot using button?

567






Command objects uses, purposes and their methods.

517


How can you identify whether or not any changes are made to the DataSet object since it was last loaded?

552


What is the role of data provider in ado.net?

543


What is ado connection?

501


What are the advantages and drawbacks of using ado.net?

615


What are disadvantages of microsoft-provided data provider classes in ado.net?

498


Which is faster sqldataadapter and sqldatareader?

498


What is the difference in record set and dataset?

516


What are the features of ado.net?

495


How does ado.net work?

489