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

Answer Posted / pushpendra singh

Fill() method of DataAdapter

SqlDataAdapter da=new SqlDataAdapter();
DataSet ds=new DataSet();
da.Fill(ds);

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What providers does Ado.net uses?

571


How to create data relations?

548


What is connection string?

525


What is Data view?

560


Name which operations can you not perform on an ado.net dataset?

484






How can we load multiple tables in a dataset?

533


Which method in OLEDBAdapter is used to populate dataset with records?

561


What is data view and variable view?

483


Explain ado.net features?

534


Is datareader faster than datatable?

536


Which is the feature of ado.net?

524


What is ado net stands for?

516


Explain executenonquery?

556


What are the parameters that control most of connection pooling behaviours?

574


How to load multiple tables into a dataset?

540