Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2005
Visual Studio
Visual C#
 Accessing and Displaying Data

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
Visual C# Application Development 
Accessing and Displaying Data (Visual C#) 

In Visual C# applications, you will typically connect to databases using ADO.NET technology as exposed in System.Data and related namespaces in the .NET Framework class library. For more information on working with data, see Accessing Data (Visual Studio).

In Windows Forms applications, the primary user interface control for displaying data retrieved from databases is the DataGridView. For more information, see DataGridView Control (Windows Forms). Connecting data sources to user interface controls such as text boxes and list boxes is greatly simplified through a feature known as data binding. When you bind a control to a field in a data source, changes made in one will automatically be reflected in the other. For more information, see Windows Forms Data Binding.

For more information about creating and managing databases, writing stored procedures, and other related information, see SQL Server Projects and SQL Server Tutorials.

The following links contain information on using Visual Studio to access data:

On the internet, the Data Access and Storage Developer Center is continually updated with new articles and examples.

See Also

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker