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 the meaning of executenonquery?

536


What is difference between dataset and datatable?

505


What are all the different methods under sqlcommand?

514


Is bulk insert faster than insert?

485


What are two types of transaction supported by ado.net?

526






Some important instruction regarding ADO.NET connection string ?

536


Which ado.net object is very fast in getting data from the database?

637


What is dataset object? Explain the various objects in dataset.

584


Explain all the classes those are used for database connections between sql server and asp.net?

500


What is difference between datatable and dataset?

517


What does ado stand for?

514


What is an ADO.Net?

562


What is ado.net components?

500


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

550


What is sql connection in ado.net?

492