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

Answer Posted / pushpendra singh

Use Fill() method of DataAdapter class and pass the object
of dataset as an argument to load the generated data.

\\DataAdapter da=new DataAdapter();
\\DataSet ds=new DataSet();


da.Fill(ds);

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is microsoft ado?

682


What is ado circle?

851


How to store data in memory?

680


how Sequence to connect and retrieve data from database using dataset?

921


Explain the difference in an abstract class and an interface?

678






What are two important objects of ADO.Net?

726


What is ado.net objects?

683


What is the namespaces being used to access oracle database?

712


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

756


How to perform sorting on a table in ADO.NET?

742


What is the difference between DataReader and DataSet in ADO.NET?

773


Explain the difference between ado and ado.net?

674


What is ado connection?

680


What are the advantages of oledb compared with other classes?

2545


How do you find the count of records in a dataset?

659