Skip to content

Commit be1c8f4

Browse files
status
1 parent 6c9bc4d commit be1c8f4

9 files changed

+19
-19
lines changed

docs/data-tools/add-custom-controls-to-the-data-sources-window.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ To add or remove controls from the list of available controls for items in the D
3434

3535
1. Make sure that the WPF Designer or the Windows Forms Designer is open.
3636

37-
2. In the **Data Sources** window, click an item that is part of a data source you added to the window, and then click the dropdown list menu for the item.
37+
2. In the **Data Sources** window, click an item that is part of a data source you added to the window, and then select the dropdown list menu for the item.
3838

3939
> [!TIP]
4040
> If the Data Sources window isn't open, open it by selecting **View** > **Other Windows** > **Data Sources**.
@@ -60,7 +60,7 @@ To add or remove controls from the list of available controls for items in the D
6060
6161
6. Click **OK**.
6262

63-
7. In the **Data Sources** window, click an item of the data type that you just associated one or more controls, and then click the dropdown list menu for the item.
63+
7. In the **Data Sources** window, click an item of the data type that you just associated one or more controls, and then select the dropdown list menu for the item.
6464

6565
The controls you selected in the **Associated controls** box now appear in the dropdown list menu for the item.
6666

docs/data-tools/bind-objects-in-visual-studio.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ The following example shows how to loop through the rows in a data table, and po
7676

7777
You can create collection classes for your objects, or use the typed collections that are automatically provided by the [BindingSource component](/dotnet/framework/winforms/controls/bindingsource-component).
7878

79-
When you're creating a custom collection class for objects, we suggest that you inherit from <xref:System.ComponentModel.BindingList%601>. This generic class provides functionality to administer your collection, as well as the ability to raise events that send notifications to the data-binding infrastructure in Windows Forms.
79+
When you're-creating a custom collection class for objects, we suggest that you inherit from <xref:System.ComponentModel.BindingList%601>. This generic class provides functionality to administer your collection, as well as the ability to raise events that send notifications to the data-binding infrastructure in Windows Forms.
8080

8181
The automatically generated collection in the <xref:System.Windows.Forms.BindingSource> uses a <xref:System.ComponentModel.BindingList%601> for its typed collection. If your application does not require additional functionality, you can maintain your collection within the <xref:System.Windows.Forms.BindingSource>. For more information, see the <xref:System.Windows.Forms.BindingSource.List%2A> property of the <xref:System.Windows.Forms.BindingSource> class.
8282

docs/data-tools/bind-wpf-controls-to-a-dataset.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,17 +72,17 @@ Before you can create data-bound controls, you must define a data model for your
7272

7373
The **Data Source Configuration** wizard opens.
7474

75-
3. On the **Choose a Data Source Type** page, select **Database**, and then click **Next**.
75+
3. On the **Choose a Data Source Type** page, select **Database**, and then select **Next**.
7676

77-
4. On the **Choose a Database Model** page, select **Dataset**, and then click **Next**.
77+
4. On the **Choose a Database Model** page, select **Dataset**, and then select **Next**.
7878

7979
5. On the **Choose Your Data Connection** page, select one of the following options:
8080

81-
- If a data connection to the AdventureWorksLT sample database is available in the dropdown list, select it and then click **Next**.
81+
- If a data connection to the AdventureWorksLT sample database is available in the dropdown list, select it, and then select **Next**.
8282

8383
- Click **New Connection**, and create a connection to the AdventureWorksLT database.
8484

85-
6. On the **Save the Connection String to the Application Configure File** page, select the **Yes, save the connection as** checkbox, and then click **Next**.
85+
6. On the **Save the Connection String to the Application Configure File** page, select the **Yes, save the connection as** checkbox, and then select **Next**.
8686

8787
7. On the **Choose Your Database Objects** page, expand **Tables**, and then select the **Product (SalesLT)** table.
8888

@@ -236,7 +236,7 @@ Build and run the application. Verify that you can view and update product recor
236236

237237
- You can click the **>** or **<** buttons to navigate through other product records.
238238

239-
2. In one of the product records, change the **Size** value, and then click **Save changes**.
239+
2. In one of the product records, change the **Size** value, and then select **Save changes**.
240240

241241
3. Close the application, and then restart the application by pressing **F5** in Visual Studio.
242242

docs/data-tools/bind-wpf-controls-to-a-wcf-data-service.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ To expose data to an application by using a WCF Data Service, you must define a
7878

7979
- Click **New Connection**, and create a connection to the AdventureWorksLT database.
8080

81-
6. On the **Choose Your Data Connection** page, make sure that the **Save entity connection settings in App.Config as** option is selected, and then click **Next**.
81+
6. On the **Choose Your Data Connection** page, make sure that the **Save entity connection settings in App.Config as** option is selected, and then select **Next**.
8282

8383
7. On the **Choose Your Database Objects** page, expand **Tables**, and then select the **SalesOrderHeader** table.
8484

@@ -135,15 +135,15 @@ To display the data from the WCF Data Service, create a new WPF application with
135135

136136
The **Data Source Configuration** wizard opens.
137137

138-
7. In the **Choose a Data Source Type** page of the wizard, select **Service**, and then click **Next**.
138+
7. In the **Choose a Data Source Type** page of the wizard, select **Service**, and then select **Next**.
139139

140140
8. In the **Add Service Reference** dialog box, click **Discover**.
141141

142142
Visual Studio searches the current solution for available services, and adds `AdventureWorksService.svc` to the list of available services in the **Services** box.
143143

144144
9. In the **Namespace** box, type **AdventureWorksService**.
145145

146-
10. In the **Services** box, click **AdventureWorksService.svc**, and then click **OK**.
146+
10. In the **Services** box, click **AdventureWorksService.svc**, and then select **OK**.
147147

148148
Visual Studio downloads the service information and then returns to the **Data Source Configuration** wizard.
149149

@@ -293,7 +293,7 @@ Build and run the application to verify that you can view and update customer re
293293

294294
- You can click the **>** or **<** buttons to navigate through other sales records.
295295

296-
5. In one of the sales records, type some text in the **Comment** box, and then click **Save changes**.
296+
5. In one of the sales records, type some text in the **Comment** box, and then select **Save changes**.
297297

298298
6. Close the application, and then start the application again from Visual Studio.
299299

docs/data-tools/connect-to-data-in-an-access-database-windows-forms.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Connect to databases created with Microsoft 365, Access 2016, Access 2013, Acces
7676

7777
8. Choose **Browse** next to **Database file name**, and then navigate to your `.accdb` file and choose **Open**.
7878

79-
>[!NOTE]
79+
> [!NOTE]
8080
> If the bitness (32-bit or 64-bit) of Microsoft Office and Visual Studio do not match, you will see an error while connecting to an Access database. In Visual Studio 2019, you will get an error that the database provider is not registered. In Visual Studio 2022, you will see an error that you can't connect to a 32-bit data provider. To resolve this error, make sure that if you are using a 32-bit version of Office, you are using Visual Studio 2019 or earlier; for a 64-bit version of Office, you need Visual Studio 2022 or later.
8181
8282
9. Enter a user name and password (if necessary), and then choose **OK**.
@@ -140,7 +140,7 @@ Connect to databases created with Microsoft 365, Access 2016, Access 2013, Acces
140140

141141
8. Choose **Browse** next to **Database file name**, and then navigate to your `.accdb` file and choose **Open**.
142142

143-
>[!NOTE]
143+
> [!NOTE]
144144
> If the bitness (32-bit or 64-bit) of Microsoft Office and Visual Studio do not match, you will see an error while connecting to an Access database. In Visual Studio 2019, you will get an error that the database provider is not registered. In Visual Studio 2022, you will see an error that you can't connect to a 32-bit data provider. To resolve this error, make sure that if you are using a 32-bit version of Office, you are using Visual Studio 2019 or earlier; for a 64-bit version of Office, you need Visual Studio 2022 or later.
145145
146146
9. Enter a user name and password (if necessary), and then choose **OK**.

docs/data-tools/could-not-retrieve-schema-information-for-database-object-object-name.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ manager: mijacobs
99
ms.subservice: data-tools
1010
---
1111

12-
# Could not retrieve schema information for database object \<object name>
12+
# Could not retrieve schema information for database object <object name>
1313

1414
This message typically appears when an object in **Server Explorer** or **Database Explorer** is copied to the clipboard, deleted from the database, and then pasted onto the designer. Because the database object no longer exists, this message appears.
1515

docs/data-tools/create-a-simple-data-application-by-using-adonet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ To complete the NewCustomer form logic, follow these steps.
225225

226226
### FillOrCancel form
227227

228-
The FillOrCancel form runs a query to return an order when you enter an order ID and then click the **Find Order** button. The returned row appears in a read-only data grid. You can mark the order as canceled (X) if you select the **Cancel Order** button, or you can mark the order as filled (F) if you select the **Fill Order** button. If you select the **Find Order** button again, the updated row appears.
228+
The FillOrCancel form runs a query to return an order when you enter an order ID, and then select the **Find Order** button. The returned row appears in a read-only data grid. You can mark the order as canceled (X) if you select the **Cancel Order** button, or you can mark the order as filled (F) if you select the **Fill Order** button. If you select the **Find Order** button again, the updated row appears.
229229

230230
#### Create autogenerated event handlers
231231

docs/data-tools/create-a-simple-data-application-with-wpf-and-entity-framework-6.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ This example uses SQL Server Express LocalDB and the Northwind sample database.
7272
![Screenshot of Entity Framework Model New Item.](media/vs-2022/entity-framework-new-project-item.png)
7373
:::moniker-end
7474

75-
1. Call the model `Northwind_model` and choose **Add**. The **Entity Data Model Wizard** opens. Choose **EF Designer from database** and then click **Next**.
75+
1. Call the model `Northwind_model` and choose **Add**. The **Entity Data Model Wizard** opens. Choose **EF Designer from database**, and then select **Next**.
7676

7777
![Screenshot of EF Model from Database.](../data-tools/media/entity-framework-model-from-database.png)
7878

docs/data-tools/create-a-sql-database-by-using-a-designer.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ To complete this walkthrough, you need the **.NET desktop development** and **Da
4141
![Add New item > Service-based database](media/raddata-vsitemtemplates.png)
4242
:::moniker-end
4343

44-
4. Name the database **SampleDatabase.mdf**, and then click **Add**.
44+
4. Name the database **SampleDatabase.mdf**, and then select **Add**.
4545

4646
### Add a data source
4747

@@ -99,7 +99,7 @@ In this section, you create two tables, a primary key in each table, and a few r
9999

100100
2. Right-click on **Tables** and select **Add New Table**.
101101

102-
The Table Designer opens and shows a grid with one default row, which represents a single column in the table that you're creating. By adding rows to the grid, you add columns in the table.
102+
The Table Designer opens and shows a grid with one default row, which represents a single column in the table that you're-creating. By adding rows to the grid, you add columns in the table.
103103

104104
3. In the grid, add a row for each of the following entries:
105105

0 commit comments

Comments
 (0)