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 |
can we have multiple datatables in a datareader ?
18 Answers Fulcrum Logic, Infosys, Kale Consultants, Ness Technologies,
What are the parameters that control most of connection pooling behaviors?
What is the difference between a datareader and a dataset?
What are the key events of sqlconnection class?
How to Handle the exceptions in Sqlsrver2000
Define connection string?
What is two way data binding android?
What do you know about ado.net's objects?
Explain the dataadapter class in ado.net?
oledbdataadpter with ms access in c#.net giving exception System.Data.OleDb.OleDbException while writing adapter.update(dataset,"tabname"); how to update the database from dataset?
What provider ado.net use by default? Explain the role of data provider in ado.net?
Which is the best institute in navi mumbai to learn DotNet
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)