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 |
Define partial class?
What is the executescalar method?
What is the hierarchy of data in databases?
How to get oledb connection?
Which is faster sqldataadapter and sqldatareader?
Sequence to connect and retrieve data from database useig dataset ?
How do you merge 2 datasets into the third dataset in a simple manner?
What is the usage of the dataset object in ado.net?
If a table contains 20000 records. In a page at each time 100 records to be displayed.
What are relation objects in dataset and how & where to use them?
Describe ado.net object model in detail.
What is openrowset?
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)