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
How will you differentiate between ADO (ActiveX Data Object) and RDO (Remote Data Objects)?
Which property is used to check whether a DataReader is closed or opened?
Explain how can we load multiple tables in to dataset?
What is the difference between a datareader and a dataset?
What does executequery return?
If a table contains 20000 records. In a page at each time 100 records to be displayed.
What do you know about ado.net's methods?
What is datasource in ado.net?
What are the benefits of using ado.net?
Can datareader hold data from multiple tables?
What is ado object model?
What is ole2 format?
Explain the differences between oledb sql server, oledbdotnet provider?
Is it possible to load multiple tables in a Dataset?
How can I retrieve two tables of data at a time by using data reader? Data reader read and forward only, how is it possible to get 2 tables of data at a time?