Skip to content

Commit 3751c1a

Browse files
committed
Revert "draft"
This reverts commit 0b54772.
1 parent 0b54772 commit 3751c1a

File tree

91 files changed

+106
-90
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+106
-90
lines changed

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

Lines changed: 88 additions & 72 deletions

docs/snippets/csharp/VS_Snippets_VBCSharp/VbRaddataDisplaying/CS/Form1.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ void test()
2121
private void customersDataGridView_DoubleClick(object sender, EventArgs e)
2222
{
2323
System.Data.DataRowView SelectedRowView;
24-
NorthwndDataSet.CustomersRow SelectedRow;
24+
NorthwindDataSet.CustomersRow SelectedRow;
2525

2626
SelectedRowView = (System.Data.DataRowView)customersBindingSource.Current;
27-
SelectedRow = (NorthwndDataSet.CustomersRow)SelectedRowView.Row;
27+
SelectedRow = (NorthwindDataSet.CustomersRow)SelectedRowView.Row;
2828

2929
Form2 OrdersForm = new Form2();
3030
OrdersForm.LoadOrders(SelectedRow.CustomerID);
@@ -43,14 +43,14 @@ private void customersBindingNavigatorSaveItem_Click(object sender, EventArgs e)
4343
{
4444
this.Validate();
4545
this.customersBindingSource.EndEdit();
46-
this.customersTableAdapter.Update(this.NorthwndDataSet.Customers);
46+
this.customersTableAdapter.Update(this.northwindDataSet.Customers);
4747
}
4848

4949

5050
private void Form1_Load(object sender, EventArgs e)
5151
{
52-
// TODO: This line of code loads data into the 'NorthwndDataSet1.Customers' table. You can move, or remove it, as needed.
53-
this.customersTableAdapter.Fill(this.NorthwndDataSet.Customers);
52+
// TODO: This line of code loads data into the 'northwindDataSet1.Customers' table. You can move, or remove it, as needed.
53+
this.customersTableAdapter.Fill(this.northwindDataSet.Customers);
5454
}
5555
}
5656
}

docs/snippets/csharp/VS_Snippets_VBCSharp/VbRaddataDisplaying/CS/Form2.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ public partial class Form2 : Form
88
//<Snippet1>
99
internal void LoadOrders(String CustomerID)
1010
{
11-
ordersTableAdapter.FillByCustomerID(northwndDataSet.Orders, CustomerID);
11+
ordersTableAdapter.FillByCustomerID(northwindDataSet.Orders, CustomerID);
1212
}
1313
//</Snippet1>
1414

1515

1616
private void Form2_Load(object sender, EventArgs e)
1717
{
18-
// TODO: This line of code loads data into the 'northwndDataSet.Orders' table. You can move, or remove it, as needed.
19-
//this.ordersTableAdapter.Fill(this.northwndDataSet.Orders);
18+
// TODO: This line of code loads data into the 'northwindDataSet.Orders' table. You can move, or remove it, as needed.
19+
//this.ordersTableAdapter.Fill(this.northwindDataSet.Orders);
2020
}
2121

2222

@@ -30,7 +30,7 @@ private void ordersBindingNavigatorSaveItem_Click(object sender, EventArgs e)
3030
{
3131
this.Validate();
3232
this.ordersBindingSource.EndEdit();
33-
this.ordersTableAdapter.Update(this.northwndDataSet.Orders);
33+
this.ordersTableAdapter.Update(this.northwindDataSet.Orders);
3434

3535
}
3636
}

0 commit comments

Comments
 (0)