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

How do you implement locking concept for dataset?

543


What is ado.net object model?

512


How do you connect to sql server database without using sqlclient?

562


What is microsoft ado?

515


Explain how do you connect to sql server database without using sqlclient?

480






How can I retrieve two tables of data at a time by using data reader? Data reader read and forward only, how is it possible to get 2 tables of data at a time?

520


Some important instruction regarding ADO.NET connection string ?

542


Define isolation?

533


What is sql connection in ado.net?

498


Explain ado.net features? Benefits? Drawbacks?

554


What are the important features of ado.net 2.0?

594


What is ado.net in mvc?

497


What are the methods of XML dataset object?

611


List the 4 common ado.net namespaces?

697


What are the namespaces used in ADO.Net to connect to a database?

599