Data Walkthroughs
These step-by-step topics cover common data scenarios for client and middle tier applications.
In This Section
Walkthrough: Binding Silverlight Controls to Objects
Provides step by step details for displaying data in a custom object in a Silverlight application.Walkthrough: Binding Silverlight Controls to a WCF Data Service
Provides step by step details for displaying data returned by a service in a Silverlight application.Walkthrough: Binding WPF Controls to a Dataset
Provides step by step details for displaying data in a dataset in a WPF applicationWalkthrough: Binding WPF Controls to a WCF Data Service
Provides step by step details for displaying data returned by a service in a WPF applicationWalkthrough: Adding Validation to a Dataset
Provides step by step information for adding validation code to a dataset.Walkthrough: Connecting to Data in a Database (Windows Forms)
Provides step by step details for creating a connection between your application and a database.Walkthrough: Connecting to Data in a Local Database File (Windows Forms)
Provides step by step details for creating a connection between your application and a SQL Server Express LocalDB database.Walkthrough: Connecting to Data in a Web Service (Windows Forms)
Provides step by step details for creating a connection between your application and a Web service.Walkthrough: Connecting to Data in an Access Database (Windows Forms)
Provides step by step details for creating a connection between your application and an Access database file.Walkthrough: Connecting to Data in Objects (Windows Forms)
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 Windows Form to Search Data
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 in a Windows Forms Application
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 Local Database File in Visual Studio
Provides step by step instructions for creating a SQL Server Express LocalDB 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 Windows Forms 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 Windows Forms 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 Windows Forms 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 Windows Form
Provides links to topics that explain how to display data on Windows Forms through data-bound controls.Walkthrough: Displaying Related Data on a Windows Form
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 Windows Forms
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.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.