Export (0) Print
Expand All

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

Community Additions

ADD
Show:
© 2014 Microsoft