Data Walkthroughs
These step-by-step topics cover common data scenarios for client and middle tier applications.
In This Section
Walkthrough: Adding Validation to a Dataset
Provides step by step information for adding validation code to a dataset.Walkthrough: Connecting to Data in a Database
Provides step by step details for creating a connection between your application and a database.Walkthrough: Connecting to Data in a SQL Server Express Database
Provides step by step details for creating a connection between your application and a SQL Express database.Walkthrough: Connecting to Data in a Web Service
Provides step by step details for creating a connection between your application and a Web service.Walkthrough: Connecting to Data in an Access Database
Provides step by step details for creating a connection between your application and an Access database file.Walkthrough: Connecting to Data in Objects
Provides step by step details for creating a connection between your application and the properties of an object.Walkthrough: Creating a Dataset with the Dataset Designer
Provides step-by-step instructions for creating a typed dataset without the help of the Data Source Configuration Wizard.Walkthrough: Creating a DataTable in the Dataset Designer
Provides step-by-step instructions for creating a DataTable and defining the DataColumn that make up its structure.Walkthrough: Creating a Form to Search Data in a Windows Application
Provides step by step details on creating a Windows Form that searches for records in a database based on values input by a user.Walkthrough: Creating a Lookup Table
Provides step by step details on displaying data from one table based on the data selected in another table.Walkthrough: Creating a Relationship between Data Tables
Provides step-by-step instructions for creating two data tables with the Dataset Designer and adding a relation between them.Walkthrough: Creating a Simple Data Application
Provides step by step instructions for creating an application that displays data from a database.Walkthrough: Creating a SQL Server Express Database
Provides step by step instructions for creating a SQL Server Express database.Walkthrough: Creating a TableAdapter with Multiple Queries
Provides step-by-step instructions for creating a TableAdapter and adding a query to it.Walkthrough: Creating a User Control that Supports Simple Data Binding
Provides step-by-step details on creating a custom control that can be used in the Data Sources window.Walkthrough: Creating a User Control that Supports Complex Data Binding
Provides step-by-step details on creating a custom control that can be used in the Data Sources window.Walkthrough: Creating a User Control that Supports Lookup Databinding
Provides step-by-step details on creating a custom control that can be used in the Data Sources window.Walkthrough: Displaying Data on a Form in a Windows Application
Provides links to topics that explain how to display data on Windows Forms through data-bound controls.Walkthrough: Displaying Related Data on a Form in a Windows Application
Provides step-by-step details on displaying data from two related tables and displaying the data on a Windows Form.Walkthrough: Filling a Dataset with Data
Provides details for creating a dataset and populating it with data from a database.Walkthrough: Handling a Concurrency Exception
Provides step-by-step instructions for identifying and resolving a concurrency error.Walkthrough: Passing Data Between Forms in a Windows Application
Provides step-by-step details on passing values from one form to a second form in an application.Walkthrough: Reading XML Data into a Dataset
Provides details for creating a Windows application that loads XML data into a dataset and then displays the dataset in a DataGridView control.Walkthrough: Saving Data in a Transaction
Provides step by step details for saving data using the System.Transactions namespace.Walkthrough: Saving Data to a Database (Single Table)
Provides step by step details for saving modified data in a data table to the underlying database.Walkthrough: Saving Data to a Database (Multiple Tables)
Provides step by step details for saving modified data in two related data tables to the underlying database.Walkthrough: Saving Data with the TableAdapter DBDirect Methods
Provides step by step instructions for directly sending commands to a database.
Related Sections
ADO.NET
Describes the ADO.NET classes, which expose data-access services to the .NET programmer.Working with Data in Managed Device Projects
Describes how to manage data for devices in Visual Studio.Data in Office Solutions
Contains links to topics that explain how data works in Office solutions, including information about schema-oriented programming, data caching, and server-side data access.