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

Is entity framework better than ado.net?

489


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

506


Explain the role of data provider in ado.net?

546


How would you connect to database using .NET?

574


What is sql connection in ado.net?

498






What provider ado.net use by default? Explain the role of data provider in ado.net? What is the role of data provider in ado.net?

540


What are all features of ADO.Net?

552


Define the data provider classes that is supported by ado.net?

521


What is Data view?

562


List the 4 common ado.net namespaces?

699


What is difference between ado and other data object?

470


What are the advantages of oledb compared with other classes?

2323


What is the DataTableCollection?

575


What are the benefits of using of ADO.NET in .NET 4.0?

539


Which parameter of ConnectionString is used to specify the name of the database?

549