ado.net 2.0?

B

Brent

Ok please somone correct me if im wrong. I think a lot of the changes to the
underlying structure to ado.net in version 2.0 are for controls. The new
features make it much easier to bind controls to the database with almost no
code at all. If your not binding data to the controls though you should use
the old way to access the DB. For example, if you wanted to return a dataset
as a web service. You will still use the old method of getting a connection
object, data adapter, and a command object and use the fill method off of
the datadapter? The reason im asking is because i have been reading a lot
that the "old" way of data access is still supported as if you shouldn't
code stuff to work with the new data access layer. Kind of how dts is still
supported in sql server 2005 yet you shouldn't code stuff on an ongoing
basis using dts.

thanks,
Brent
 
M

Mary Chipman [MSFT]

A lot of things are still the same, with some new features and
enhancements to familiar features. Working with controls is different
than working with ADO.NET in code, mainly because there are new
controls and new ways of doing data binding.

Here's a link to what's new in ADO.NET, which should hopefully answer
your questions:
http://msdn2.microsoft.com/en-us/library/ex6y04yf.aspx

--Mary
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top