What is the difference between connected environment and a
disconnected environment?
Answers were Sorted based on User's Feedback
Answer / neha
Connected:
In connected environment, the connection object is
constantly opened to operate on the databases, and is closed
after all the operation are performed.
Advantages: fast retrieval of data, updated information is
always accessed
Disadvantage: security threats
Disconnected:
In the disconnected environment, the connection object is
opened for the minimum amount of time, that is, the time
when data is retrieved. After the data is retrieved from the
database, the connection is closed, and all the operations
like INSERT, UPDATE, DELETE, etc are performed offline. The
change during the operation can be reflected back to the
database in the similar manner.
Advantage: no security threats, increase in performance as
connection is not constantly opened.
Disadvantage: slow data retrival.
Is This Answer Correct ? | 13 Yes | 1 No |
Answer / pavithra
In connected,an application is constantly connected to data
source.
advantages :
data concurrency is avoided because one user is connected
to a data source and updating data,while another user cant
made changes on data.
In disconnected environment ,application isnt directly
connected to data source.user use connection at once to
retrieve data and connection closed after retreiving.
limitation:
data concurrency.
Is This Answer Correct ? | 4 Yes | 3 No |
Which is faster dataset or datareader?
what is clustered index?why is it created?
Explain why edit is not possible in repeater?
What are all the commands used with Data Adapter?
How do we invoke queries from the application
What provider ado.net use by default? Explain the role of data provider in ado.net? What is the role of data provider in ado.net?
what is typed and untyped dataset
How to find the given query is optimised one or not?
What are the ado.net connection pooling parameters?
What are two types of transaction supported by ado.net?
what are types of Dataset ?
Which object is used to add relationship between two Datatables?