Skip to content

Commit 60a6495

Browse files
committed
update bookmark refs, remove HTML
1 parent de51248 commit 60a6495

9 files changed

+10
-12
lines changed

docs/data-tools/add-new-data-sources.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Add data sources in ADO.NET apps (.NET Framework)
33
description: Explore how to add .NET Framework data sources by using ADO.NET in Visual Studio and connect your application to information in a data store.
4-
ms.date: 08/27/2024
4+
ms.date: 08/29/2024
55
ms.topic: how-to
66
f1_keywords:
77
- vs.datasource.datasourcefieldspicker
@@ -46,11 +46,9 @@ Examples of data sources include:
4646
> [!TIP]
4747
> When the application doesn't use one or more of these components, the concept of a "data source" doesn't apply. In these scenarios, you can connect directly to the database by using [SqlCommand class](/dotnet/api/system.data.sqlclient.sqlcommand?view=netframework-4.8.1&preserve-view=true) objects.
4848
49-
<a name="data-sources-window"></a>
50-
5149
## Work with data sources and Windows forms
5250

53-
You create and edit data sources for .NET Framework by using the **Data Source Configuration Wizard** in a Windows Forms or WPF application. You can create a data source from a database, a service, an object, or from a SharePoint list:
51+
You create and edit data sources for .NET Framework by using the **Data Source Configuration Wizard** in a Windows Forms or WPF application. You can create a data source from a database, a service, an object, or from a SharePoint list: [h](#work-with-data-sources-and-windows-forms)
5452

5553
:::image type="content" source="./media/data-source-configuration-wizard.png" border="false" alt-text="Screenshot that shows the Data Source Configuration Wizard in Visual Studio.":::
5654

docs/data-tools/create-a-windows-forms-user-control-that-supports-complex-data-binding.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ During this walkthrough, you'll learn how to:
4444

4545
- Create a dataset with the [Data Source Configuration Wizard](../data-tools/media/data-source-configuration-wizard.png).
4646

47-
- Set the **Customers** table in the [Data Sources window](add-new-data-sources.md#data-sources-window) to use the new complex control.
47+
- Set the **Customers** table in the [Data Sources window](add-new-data-sources.md#work-with-data-sources-and-windows-forms) to use the new complex control.
4848

4949
- Add the new control by dragging it from the **Data Sources** window onto **Form1**.
5050

docs/data-tools/create-lookup-tables-in-windows-forms-applications.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ms.subservice: data-tools
1818

1919
The term *lookup table* describes controls that are bound to two related data tables. These lookup controls display data from the first table based on a value selected in the second table.
2020

21-
You can create lookup tables by dragging the main node of a parent table (from the [Data Sources window](add-new-data-sources.md#data-sources-window)) onto a control on your form that is already bound to the column in the related child table.
21+
You can create lookup tables by dragging the main node of a parent table (from the [Data Sources window](add-new-data-sources.md#work-with-data-sources-and-windows-forms)) onto a control on your form that is already bound to the column in the related child table.
2222

2323
For example, consider a table of `Orders` in a sales database. Each record in the `Orders` table includes a `CustomerID`, indicating which customer placed the order. The `CustomerID` is a foreign key pointing to a customer record in the `Customers` table. In this scenario, you expand the `Orders` table in the **Data Sources** window and set the main node to **Details**. Then, set the `CustomerID` column to use a <xref:System.Windows.Forms.ComboBox> (or any other control that supports lookup binding), and drag the `Orders` node onto your form. Finally, drag the `Customers` node onto the control that is bound to the related column — in this case, the <xref:System.Windows.Forms.ComboBox> bound to the `CustomerID` column.
2424

docs/data-tools/customize-how-visual-studio-creates-captions-for-data-bound-controls.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ms.subservice: data-tools
1818

1919
[!INCLUDE [Data access tech note](./includes/data-technology-note.md)]
2020

21-
When you drag items from the [Data Sources window](add-new-data-sources.md#data-sources-window) onto a designer, a special consideration comes into play: the column names in the caption labels are reformatted into a more readable string when two or more words are found to be concatenated together.
21+
When you drag items from the [Data Sources window](add-new-data-sources.md#work-with-data-sources-and-windows-forms) onto a designer, a special consideration comes into play: the column names in the caption labels are reformatted into a more readable string when two or more words are found to be concatenated together.
2222

2323
You can customize the way in which these labels are created by setting the **SmartCaptionExpression**, **SmartCaptionReplacement**, and **SmartCaptionSuffix** values in the **HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\16.0\Data Designers** registry key.
2424

docs/data-tools/dataset-tools-in-visual-studio.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ If your application needs to only read data from a database, and not perform upd
6262

6363
Visual Studio provides tooling to simplify working with datasets. The basic end-to-end workflow is:
6464

65-
- Use the [Data Sources window](add-new-data-sources.md#data-sources-window) to create a new dataset from one or more data sources. Use the **Dataset Designer** to configure the dataset and set its properties. For example, you need to specify which tables from the data source to include, and which columns from each table. Choose carefully to conserve the amount of memory that the dataset requires. For more information, see [Create and configure datasets](../data-tools/create-and-configure-datasets-in-visual-studio.md).
65+
- Use the [Data Sources window](add-new-data-sources.md#work-with-data-sources-and-windows-forms) to create a new dataset from one or more data sources. Use the **Dataset Designer** to configure the dataset and set its properties. For example, you need to specify which tables from the data source to include, and which columns from each table. Choose carefully to conserve the amount of memory that the dataset requires. For more information, see [Create and configure datasets](../data-tools/create-and-configure-datasets-in-visual-studio.md).
6666

6767
- Specify the relationships between the tables so that foreign keys are handled correctly. For more information, see [Fill datasets by using TableAdapters](../data-tools/fill-datasets-by-using-tableadapters.md).
6868

docs/data-tools/hierarchical-update.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Setting the order to perform updates sets the order of the individual inserts, u
5959
> [!NOTE]
6060
> It's important to understand that the update order is all inclusive. That is, when updates are performed, inserts and then deletes are performed for all tables in the dataset.
6161
62-
To set the `UpdateOrder` property, after dragging items from the [Data Sources Window](add-new-data-sources.md#data-sources-window) onto a form, select the `TableAdapterManager` in the component tray, and then set the `UpdateOrder` property in the **Properties** window.
62+
To set the `UpdateOrder` property, after dragging items from the [Data Sources Window](add-new-data-sources.md#work-with-data-sources-and-windows-forms) onto a form, select the `TableAdapterManager` in the component tray, and then set the `UpdateOrder` property in the **Properties** window.
6363

6464
## Create a backup copy of a dataset before performing a hierarchical update
6565

docs/data-tools/how-to-connect-to-data-in-a-service.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ms.subservice: data-tools
2121

2222
You connect your .NET Framework application to the data returned from a Windows Communication Foundation (WCF) service by running the [Data Source Configuration Wizard](../data-tools/media/data-source-configuration-wizard.png) and selecting **Service** on the **Choose a Data Source Type** page.
2323

24-
Upon completion of the wizard, a service reference is added to your project and is immediately available in the [Data Sources window](add-new-data-sources.md#data-sources-window).
24+
Upon completion of the wizard, a service reference is added to your project and is immediately available in the [Data Sources window](add-new-data-sources.md#work-with-data-sources-and-windows-forms).
2525

2626
> [!NOTE]
2727
> The items that appear in the **Data Sources** window are dependent on the information that the service returns. Some services might not provide enough information for the **Data Source Configuration Wizard** to create bindable objects. For example, if the service returns an untyped dataset, no items appear in the **Data Sources** window upon completing the wizard. This is because untyped datasets do not provide schema, so the wizard does not have enough information to create the data source.

docs/data-tools/how-to-create-linq-to-sql-classes-mapped-to-tables-and-views-o-r-designer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ By default, the LINQ to SQL runtime creates logic to save changes from an updata
3434

3535
## Create an object data source and display the data on a form
3636

37-
After you create entity classes by using the **O/R Designer**, you can create an object data source and populate the [Data Sources window](add-new-data-sources.md#data-sources-window) with the entity classes.
37+
After you create entity classes by using the **O/R Designer**, you can create an object data source and populate the [Data Sources window](add-new-data-sources.md#work-with-data-sources-and-windows-forms) with the entity classes.
3838

3939
### To create an object data source based on LINQ to SQL entity classes
4040

docs/data-tools/save-data-to-a-database-multiple-tables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Tasks illustrated in this walkthrough include:
2929

3030
- Creating and configuring a data source in your application with the [Data Source Configuration Wizard](../data-tools/media/data-source-configuration-wizard.png).
3131

32-
- Setting the controls of the items in the [Data Sources window](add-new-data-sources.md#data-sources-window). For more information, see [Set the control to be created when dragging from the Data Sources window](../data-tools/set-the-control-to-be-created-when-dragging-from-the-data-sources-window.md).
32+
- Setting the controls of the items in the [Data Sources window](add-new-data-sources.md#work-with-data-sources-and-windows-forms). For more information, see [Set the control to be created when dragging from the Data Sources window](../data-tools/set-the-control-to-be-created-when-dragging-from-the-data-sources-window.md).
3333

3434
- Creating data-bound controls by dragging items from the **Data Sources** window onto your form.
3535

0 commit comments

Comments
 (0)