示例#1
0
        public void LoadReceiptsData()
        {
            var receiptsByOrder = (ordersBS.Count == 0 ? null : receiptsService.GetReceipts().Where(m => m.OrderId == ((OrdersDTO)ordersBS.Current).OrderId));

            receiptsBS.DataSource        = receiptsByOrder;
            this.receiptsGrid.DataSource = receiptsBS;
        }
示例#2
0
        private void LoadReceiptsData()
        {
            receiptsByOrder = receiptsService.GetReceipts().Where(m => m.OrderId == ((OrdersDTO)Item).OrderId).ToList();

            receiptsBS.DataSource   = receiptsByOrder;
            receiptsGrid.DataSource = receiptsBS;
            receiptsGridView.BeginSummaryUpdate();
            receiptsGridView.EndSummaryUpdate();
        }