Solved

ADO.net general issue

Posted on 2002-05-22
8
237 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
 
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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…

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now