For years you guys (and gals) have been complaining about how MDAC
"upgrades" screw up your working applications. You complain about how COM
makes your (development) lives a living hell. You complain about how hard it
is to deploy and make certain that when you install a new application that
it does not break existing apps (and new apps don't break yours). THAT's
what ADO.NET and the .NET Framework is all about--it's about fixing those
problems and a lot more. For the first time since DB-Library you can write
code that talks (more or less) directly to the low-level protocol--whether
you're using SQL Server or Oracle or DB2. ADO.NET is fast (if you know how
to use it) and flexible. Today it's optimized for web applications, but it
can also be used for many client/server apps too. Tomorrow, more features
than you can imagine will appear that will far surpass ADO classic.
Sure, the biggest stumbling block is learning how to use it. That's my
job--to help teach you. Lucky for you (and unlucky for me) there are over 35
books on the shelves to help you learn ADO.NET so I don't make much on the
books. No, ADO classic is not dead. It's just as clumsy as ever and just as
prone to failure as ever. It's likely to be around for some time to
come--like Windows 95.
--
____________________________________
Bill Vaughn
MVP, hRD
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
"William Ryan" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> They aren't mutually exclusive, rather, ADO.NET is a more mature ADO.
From
> MS's perspective (and I can't speak for them) but I'm guessing that the
> future isn't being built with Access/Desktop databases running single or
<10
> user applications.
>
>
> You can use ADO.NET in 'connected' mode which takes advantage of
DataReaders
> and misc Command object methods. In general, if you aren't using Stored
> procedures and passing in parameters via the command object, it takes only
5
> lines of code, including declarations to retrieve a single value, change
> Database structure (DDL) and insert data. To iterate through a
datareader,
> add 3 to a few more than 3 more lines of code..this is pretty much typical
> of using the connected objects...
>
>
> SqlConnection cn = new SqlConnection("connectionstring");
> SqlCommand cmd = new SqlCommand("SELECT COUNT(*) FROM myTable", cn);
> cn.Open();
> int i = cmd.ExecuteScalar();
> cn.Close();
>
> Granted using a DataTable/DataSet/DataAdapter vs old school recordsets
might
> be a little more complex, but that difference is neglible if you are only
> trying to implement ado 2.x functionaliy and not really take advantage of
> these objects.
>
> I am no ado rookie, but once I got comfortable with ADO.NET, I don't think
> I've yearned for 2.x even one time. Just my two cents, but I think the
more
> you use it, the more you'll love it.
>
>
> "Bryan Martin" <(E-Mail Removed)> wrote in message
> news:#(E-Mail Removed)...
> > Speaking of which......
> >
> > Can someone explain to me the advantages of using ADO.net over ADO for
> > normal single query SQL or Access database operations? It seems to me
> that
> > ADO.net is extremely over used. From my stand point it requires much
less
> > effort to create a ADO connection/recordset for most cases.
> >
> > I think I read somewhere that ADO.net handles relationships, XML and
other
> > features/extensions better but for me I am yet to see a instance where I
> > have not been able to quickly perform the task using ADO. Am I wrong in
> my
> > assumption that ADO.net is more of a fad that is way overly used for
most?
> >
> > Bryan
> >
> >
> > "Jason Cooke [MSFT]" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > Every application uses data. Come and ask members of the Visual Studio
> and
> > > SQL
> > > teams about the best approaches for working with data in your
> > applications.
> > >
> > > Date:
> > > September 2, 2003
> > >
> > > Time:
> > > 1:00 - 2:00 P.M. Pacific time
> > > 4:00 - 5:00 P.M. Eastern time
> > > 20:00 - 21:00 GMT
> > > 21:00 - 22:00 BST
> > > (For a list of local time zones relative to GMT, please see
> > > http://msdn.microsoft.com/chats/timezones.asp.)
> > >
> > > Location:
> > > http://msdn.microsoft.com/chats (then click the name of the chat to
> enter
> > > the chat room)
> > >
> > > To see a list of upcoming chats or set a reminder for this chat,
please
> > see
> > > http://msdn.microsoft.com/chats.
> > > You can use the following link to add an event reminder to your
calendar
> > for
> > > this chat.
> > > http://msdn.microsoft.com/chats/outl...s/VB_Sept2.vcs
> > > To see an archive of previous chat transcripts, please see
> > > http://msdn.microsoft.com/chats/recent.asp.
> > >
> > > Thanks!
> > > Jason Cooke
> > > VB.NET Team
> > > ========
> > > This posting is provided "AS IS" with no warranties, and confers no
> > rights.
> > > You assume all risk for your use.
> > > (c) 2003 Microsoft Corporation. All rights reserved.
> > >
> > >
> >
> >
>
>