Solved

ADO.net general issue

Posted on 2002-05-22
8
245 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 
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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

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…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

726 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