예제 #1
0
파일: Snap.cs 프로젝트: shine8319/DLS
        protected override void FillDataSource(OleDbConnection connection, nwindDataSet dataSource) {
            var customerOrdersTableAdapter = new CustomerOrdersTableAdapter();
            customerOrdersTableAdapter.Connection = connection;
            customerOrdersTableAdapter.Fill(dataSource.CustomerOrders);

            var orderReportsTableAdapter = new OrderReportsTableAdapter();
            orderReportsTableAdapter.Connection = connection;
            orderReportsTableAdapter.Fill(dataSource.OrderReports);
        }
예제 #2
0
파일: Snap.cs 프로젝트: shine8319/DLS
        protected override void FillDataSource(OleDbConnection connection, nwindDataSet dataSource)
        {
            var customerOrdersTableAdapter = new CustomerOrdersTableAdapter();

            customerOrdersTableAdapter.Connection = connection;
            customerOrdersTableAdapter.Fill(dataSource.CustomerOrders);

            var orderReportsTableAdapter = new OrderReportsTableAdapter();

            orderReportsTableAdapter.Connection = connection;
            orderReportsTableAdapter.Fill(dataSource.OrderReports);
        }