Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

Data Access Using ADO.NET (C++/CLI)

ADO.NET is the .NET Framework API for data access and provides power and ease of use unmatched by previous data access solutions. This section describes some of the issues involving ADO.NET that are unique to Visual C++ users, such as marshaling native types.

ADO.NET runs under the Common Language Runtime (CLR). Therefore, any application that interacts with ADO.NET must also target the CLR. However, that does not mean that native applications cannot use ADO.NET. These examples will demonstrate how to interact with an ADO.NET database from native code.

Section

Description

ADO.NET

Provides an overview of ADO.NET, a set of classes that expose data access services to the .NET programmer.

Creating SQL Server 2005 Objects in Managed Code

Describes how to use .NET languages, including Visual C++, to create database objects such as stored procedures, aggregates, triggers, user-defined functions, and user-defined types; and to retrieve and update data for Microsoft SQL Server 2005 databases.

Community Additions

ADD
Show:
© 2015 Microsoft