Which method do you invoke on the DataAdapter control to
load your generated dataset with data?
Answer Posted / rahul ecimt
SqlDataAdapter da=new SqlDataAdapter ()
DataSet ds=new DataSet ()
da.Fill(ds)
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What are the different methods by which we can populate a dataset?
What providers does Ado.net uses?
What is the full form of ado?
Define data access layer?
What is the difference between the clone() and copy() methods of the dataset class?
What are all components of ADO.Net data provider?
Which is better ole db or odbc?
Which object needs to be closed?
Which is faster sqldataadapter and sqldatareader?
What is linq and entity framework?
How can we load multiple tables in to dataset?
Define data adapter?
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?)
What is the role of data provider in ado.net?
Explain the DataAdapter.Update() and DataSetAcceptChanges() methods.