Teach Yourself Visual Studio® .NET 2003 in 21 Days [Electronic resources]

Jason Beres

نسخه متنی -صفحه : 270/ 125
نمايش فراداده

Summary

Today you learned all the basics of accessing data with ADO.NET. Like most of the object models in the FCL, Microsoft seems to have thought of everything, and ADO.NET is no different. Choosing the wrong data access strategy when developing applications can spell disaster for scalability and functionality. With ADO.NET, you have many options to choose from when deciding how to get data to and from any type of data store.

If you need fast, read-only access, use a DataReader.

If you need complex relational data that must be disconnected from a data source, use DataSets and DataAdapters.

Tomorrow you continue learning about using ADO.NET through the Visual tools in Visual Studio .NET. Everything you learned today serves as a foundation for your work tomorrow and the rest of the week.