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

Answer Posted / kamalakannan.a

SqlDataAdapter adap=new SqlDataAdapter("Select * from
temp",Conn);

DataSet ds = new DataSet();

//Here we load the table to dataset
adap.Fill(ds);

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a data control clerk?

577


What is difference between sqldatareader and sqldataadapter?

495


Can you explain how to enable and disable connection pooling?

512


What is the difference between ado.net and entity framework?

515


What is bubbled event?

541






What is difference between executequery and executeupdate?

508


What is the use of SqlCommandBuilder?

626


If a table contains 20000 records . In a page at each time 100 records to be displayed what are the steps you will take to improve performance? Will you use dataset or datareader?

620


Explain how to create dynamic gridview?

526


List all the steps in order, to access a database through ado.net?

591


What are the Data providers in ADO.Net?

557


What is DataReader Object?

598


How to add a javaScript function in a datagrid?

573


Is it possible to load multiple tables in a Dataset?

536


What are the data access namespaces in .NET?

637