Solved

ADO.net general issue

Posted on 2002-05-22
8
242 Views
Last Modified: 2010-05-02
I've just started getting my head around ADO.net and I can see the power of datasets for disconnected environments. However I can't quite see what the equivalent to an ADO CONNECTED recordset is. Surely on-line, concurrency/locked environments haven't disappeared overnight.
I would be grateful if someone would point me to a good article, or give me a brief rundown on the recommended approach to take using ADO.net for connected environments and the control for managing locking.
Cheers.
0
Comment
Question by:philjh
  • 4
  • 4
8 Comments
 
LVL 22

Expert Comment

by:CJ_S
ID: 7026568
There is no more connected recordset. You cannot keep the recordset on the server anymore. It is all disconnected.

I was quite astonished when I heard it at the Microsoft conference last year when they introduced ADO.Net... I just couldn't get my head over it, nor can I see the advantage of doing it that way.

You cannot do that anymore...

CJ
0
 

Author Comment

by:philjh
ID: 7026697
I was starting to come to this conclusion.
So am I right in thinking that I should still be using ADO (not .net) for such connected requirements, or is there an ADO.net strategy which I could use as a work round.
Hope the COM-Interop is OK!
0
 

Author Comment

by:philjh
ID: 7026706
I was starting to come to this conclusion.
So am I right in thinking that I should still be using ADO (not .net) for such connected requirements, or is there an ADO.net strategy which I could use as a work round.
Hope the COM-Interop is OK!
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 22

Expert Comment

by:CJ_S
ID: 7026954
There is no work around. Sure you can still use ADO, but then you won't have the advantages of ADO.net. It's a design question.

CJ
0
 

Author Comment

by:philjh
ID: 7029351
CJ
Sorry to push you on this but I do want to get this issue nailed down for myself (the points are yours).
If I absolutely must have the equivalent of a pessimistically locked recordset, I cannot have one from from ADO.net so must go to ADO? True/False?
0
 
LVL 22

Accepted Solution

by:
CJ_S earned 100 total points
ID: 7029381
True AFAIK
0
 
LVL 22

Expert Comment

by:CJ_S
ID: 7029384
Unless your SQL Server is SQL Server.Net (I believe it is not out yet though)
0
 

Author Comment

by:philjh
ID: 7029502
Seems like a bit of an overreaction from MS to the 'new world', when much of the world is still old.
Many thanks.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Vb.net 2008 2 60
Add a task in Outlook from access 11 40
How to Add / Edit Windows Menu 4 62
Excel VBA - Run Time error '1004' Application-defined or object-defined error 4 87
Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question