Skip to content

Commit 7b8470a

Browse files
committed
touchups
1 parent 514fc9e commit 7b8470a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/data-tools/pass-data-between-forms.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ In this tutorial, you complete the following tasks:
6161

6262
1. Select either **C#** or **Visual Basic** from the **All languages** dropdown list, **Windows** from the **All platforms** dropdown list, and **Desktop** from the **All project types** list.
6363

64-
1. Select **Windows Forms App (.NET Framework)**, and then select **Next**.
64+
1. Select **Windows Forms App (.NET Framework)** from the project templates list, and then select **Next**.
6565

6666
1. Name the project **PassingDataBetweenForms**, select **Next**, and then select **Create**.
6767

@@ -77,7 +77,7 @@ The **PassingDataBetweenForms** project is created and added to **Solution Explo
7777

7878
1. On the **Choose a Database Model** page, verify that **Dataset** is specified and select **Next**.
7979

80-
1. On the **Choose Your Data Connection** page, if a data connection to the Northwind sample database is available, select it, and proceed to the **Choose your Database Objects** step. Otherwise, select **New Connection**.
80+
1. On the **Choose Your Data Connection** page, if a data connection to the Northwind sample database is already available, select it, and proceed to the **Choose your Database Objects** step. Otherwise, select **New Connection**.
8181

8282
1. On the **Choose Data Source** screen, select **Microsoft SQL Server Database File**, and then select **Continue**.
8383

@@ -99,9 +99,9 @@ The **NorthwindDataSet** is added to your project, and the **Customers** and **O
9999

100100
## Populate the first form
101101

102-
To create a data-bound grid, drag the **Customers** node from the **Data Sources** window onto **Form1**.
102+
- To create a data-bound grid, drag the **Customers** node from the **Data Sources** window onto **Form1**.
103103

104-
A <xref:System.Windows.Forms.DataGridView> control and a (<xref:System.Windows.Forms.BindingNavigator>) tool strip for navigating records appear on **Form1**. A [NorthwindDataSet](dataset-tools-in-visual-studio.md), `CustomersTableAdapter`, <xref:System.Windows.Forms.BindingSource>, and <xref:System.Windows.Forms.BindingNavigator> appear in the component tray.
104+
A <xref:System.Windows.Forms.DataGridView> control and a <xref:System.Windows.Forms.BindingNavigator> tool strip for navigating records appear on **Form1**. A [NorthwindDataSet](dataset-tools-in-visual-studio.md), `CustomersTableAdapter`, <xref:System.Windows.Forms.BindingSource>, and <xref:System.Windows.Forms.BindingNavigator> appear in the component tray.
105105

106106
## Create the second form
107107

@@ -113,9 +113,9 @@ Create a second form to pass data to.
113113

114114
1. Drag the main **Orders** node from the **Data Sources** window onto **Form2**.
115115

116-
A <xref:System.Windows.Forms.DataGridView> and a tool strip (<xref:System.Windows.Forms.BindingNavigator>) for navigating records appear on **Form2**. A [NorthwindDataSet](dataset-tools-in-visual-studio.md), `CustomersTableAdapter`, <xref:System.Windows.Forms.BindingSource>, and <xref:System.Windows.Forms.BindingNavigator> appear in the component tray.
116+
A <xref:System.Windows.Forms.DataGridView> and a <xref:System.Windows.Forms.BindingNavigator> tool strip for navigating records appear on **Form2**. A [NorthwindDataSet](dataset-tools-in-visual-studio.md), `CustomersTableAdapter`, <xref:System.Windows.Forms.BindingSource>, and <xref:System.Windows.Forms.BindingNavigator> appear in the component tray.
117117

118-
1. Delete the **OrdersBindingNavigator** from the component tray. The **OrdersBindingNavigator** disappears from **Form2**.
118+
1. Delete the **OrdersBindingNavigator** from the component tray. The **BindingNavigator** disappears from **Form2**.
119119

120120
## Add a TableAdapter query
121121

@@ -167,7 +167,7 @@ Add a `TableAdapter` query to Form2 that loads orders for the customer selected
167167

168168
1. In the **Properties** window, select the **Events** icon in the top toolbar.
169169

170-
1. Double-click the **DoubleClick** event.
170+
1. Double-click the **DoubleClick** event to open the code editor.
171171

172172
1. In the code editor, update the method definition to match the following sample:
173173

0 commit comments

Comments
 (0)