explain connection less and with connection?diference
between data reader,data set,data adapter? can we use data
reader,data set in a single application? if yes explain
with simple code,if no explain?

Answer Posted / prabhat saxena(lmp)

above exp. is excellent for connection less and connection
oriented.
data adapter performs almost five steps
1- open(create)connection
2- fatch the data
3- generate xml file of data
4- fill xml data file into the dataset by fill()method
5- closed the connection.

Is This Answer Correct ?    19 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to load multiple tables into a dataset?

542


What is the difference between DataReader and DataSet in ADO.NET?

590


What is Data view?

562


Does ado.net use odbc?

525


can we create synonymn in ms access,sql server,my sql if so explain me with example

1583






If we are not returning any records from the database, which method is to be used?

757


Which is faster datareader or dataadapter?

531


What is the difference between statement and preparedstatement interface?

563


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

507


What do you know about ADO.NET's objects and methods?

520


What is DataRowCollection?

625


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

533


Explain how to copy the contents from one table to another table and how to delete the source table in ado.net?

456


What is disconnected data?

580


What is difference in record set and dataset?

534